Skip to main content
Glama

Describe a tool

describe_tool
Read-onlyIdempotent

Retrieve a backend tool's argument names and types before calling it; provide catalogue server and tool names, and unknown names return valid options.

Instructions

Get the arguments of ONE backend tool, before call_tool. server/tool are catalogue names; an unknown one returns the valid ones. Read-only. Returns each argument and its type.

Input Schema

NameRequiredDescriptionDefault
toolYes
detailNocompact
serverYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.8.0
    • addedInput schema / properties / detail / default
      Added value: +"compact"
    • addedInput schema / properties / detail / type
      Added value: +"string"
  2. First observedv0.7.0

TDQS

A4.2/5.0
Behavior4/5

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

Discloses non-obvious behavior beyond annotations: unknown server/tool names return the valid ones rather than erroring, and the return payload is 'each argument and its type'. 'Read-only' merely restates readOnlyHint=true (consistent, not contradictory) and could be dropped. The 'detail' mode's behavioral difference is left undisclosed.

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?

Four short clauses, each carrying a distinct fact (what it returns, when to call it, naming semantics, error fallback), with the action front-loaded. No 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?

Covers the essentials for a 3-param, no-output-schema tool: return shape is summarized in prose, mutation/error behavior is stated, and usage ordering is given. The unexplained 'detail' parameter is the one remaining gap an agent would hit in practice.

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 0%, so the description must carry the load: it does explain that server/tool are catalogue names and that an unknown value returns valid alternatives, which is valuable. However, the 'detail' enum (compact vs full) is completely unexplained in both schema and description, leaving no clue about what changes in the response.

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?

States a specific verb and resource ('Get the arguments of ONE backend tool') with explicit scope ('ONE'), which cleanly distinguishes it from siblings list_capabilities and call_tool. An agent can tell immediately this is a schema-introspection call, not an invocation.

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 call_tool' gives a concrete ordering rule that tells the agent when to use it relative to the primary sibling. It does not address when to use list_capabilities/search_capabilities instead for discovery, which is the only missing routing guidance.

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