Skip to main content
Glama

gateway.describe

Retrieves detailed information about a specific tool, including its arguments and constraints, so you can understand requirements before invoking it.

Instructions

Get detailed information about a specific tool, including its arguments and constraints. Use this before invoking a tool to understand its requirements.

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": {
      "tool_id": "<tool_id>"
    },
    "name": "gateway.describe"
  }
}

Input Schema

NameRequiredDescriptionDefault
tool_idYesThe tool ID in format "server_name::tool_name"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • addedInput schema / properties / tool_id / minLength
      Added value: +1
  2. First observedv1.18.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. "Get" implies a read-only lookup and the description discloses what kind of content comes back (arguments and constraints), but it says nothing about failure behavior for an unknown or malformed tool_id, or whether the target server must be connected first.

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

Conciseness5/5

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

Two sentences, both load-bearing, with the what front-loaded and the when-to-use immediately after. There is no redundant restatement of the tool name or filler.

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

Completeness4/5

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

For a one-parameter introspection tool with no output schema and no annotations, the description covers the essential contract: what it returns and when to reach for it. It would be stronger if it described the return shape more concretely or noted error handling for unresolvable IDs.

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% and the single tool_id parameter is already documented in the schema, including the "server_name::tool_name" format. The description adds no further meaning about the identifier, so the baseline of 3 applies.

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

Purpose4/5

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

The description states a specific verb and resource: get detailed information about a specific tool, including its arguments and constraints. That distinguishes it from the discovery-oriented siblings like gateway.catalog_search and gateway.search_registry, though it never names those siblings explicitly.

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?

"Use this before invoking a tool to understand its requirements" gives a clear usage context tied to the gateway.invoke workflow, which is the key routing decision for an agent. It stops short of explicit exclusions, e.g. that it is not for finding tools you don't yet know the ID of, which is what catalog_search is for.

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