Skip to main content
Glama

gateway_probe

Destructive

Test that a URL you want to sell is reachable and returns something sensible, before gateway_register. Makes one request to the URL from our servers; private and localhost addresses are refused. Read-only on our side. REQUIRES OPERATOR KEY.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "upstream_url": "<upstream_url>"
    },
    "name": "gateway_probe"
  }
}

Input Schema

NameRequiredDescriptionDefault
upstream_urlYesPublic https URL of the endpoint to sell, for example https://api.example.com/v1/data. Private and localhost addresses are refused
upstream_methodNoHTTP method used to call your upstream URL. Default GETGET
upstream_headersNoExtra HTTP headers sent to your upstream, as a JSON object of header name to value, for example {"X-Api-Key": "secret"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / upstream_headers / description
      Added value: +"Extra HTTP headers sent to your upstream, as a JSON object of header name to value, for example {\"X-Api-Key\": \"secret\"}"
    • addedInput schema / properties / upstream_method / description
      Added value: +"HTTP method used to call your upstream URL. Default GET"
    • addedInput schema / properties / upstream_url / description
      Added value: +"Public https URL of the endpoint to sell, for example https://api.example.com/v1/data. Private and localhost addresses are refused"
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds real context beyond the annotations: one outbound request from the provider's servers, private/localhost targets refused (SSRF protection), and an operator-key requirement. However, the "Read-only on our side" phrasing does little to warn that, with upstream_method set to POST/PUT/DELETE, the probe can mutate the upstream — a destructiveHint=true property the agent should know about. No timeout, failure-rate, or gating behavior is described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short clauses, front-loaded with purpose and the register-relative ordering, and no filler. The private/localhost refusal sentence duplicates the schema description, which is a small redundancy but not wasteful enough to hurt.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description should say what the probe actually returns — status code, body excerpt, latency, pass/fail shape — because "returns something sensible" is too vague for the agent to interpret the result. Auth requirement and outbound-call model are covered, so the remaining gap is the response contract.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents upstream_url, upstream_method with a default and enum, and the headers object. The description only restates the private/localhost refusal rule and adds no method- or header-specific meaning, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Test that a URL you want to sell is reachable and returns something sensible" gives a concrete verb (test/probe) and resource (an upstream URL being listed for sale), and explicitly positions it relative to the gateway_register sibling. An agent can distinguish this preflight check from registration without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"before gateway_register" gives a clear ordering constraint that tells the agent when this tool belongs in a workflow. It does not state exclusions (e.g. when to skip probing, or whether register itself validates) or what to do on failure, so it stops short of the 5-level when/when-not/alternatives treatment.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.