Skip to main content
Choose one capability:
  • Agent example: get_weather(city);
  • MCP example: get_forecast(latitude, longitude).

1. Confirm Discovery

Open the Agent or MCP provider and confirm the capability name and input fields. CLI examples:

2. Create a Gateway

In Gateways, select the Agent or MCP provider. Choose the capability and set one action. Start with Observe so the capability still runs. Save the Gateway and send the same weather request again.

3. Test each action

For the LangChain example, send:
For the Weather MCP in Inspector, call:

4. Verify in the Trace

Check:
  • capability name and input;
  • Gateway action;
  • whether the capability executed;
  • output when it ran;
  • final user response.
For Block or rejected Review, there must be no capability output.
Screenshot placeholder
Add /images/guides/weather-governance-trace.png showing the Gateway decision and execution state.
Last modified on July 27, 2026