Skip to main content
Glama

get_schema

Fetch parameter schemas for specified tools to verify input types and return shapes before calling them. Use after searching tools or before executing batches to avoid argument errors.

Instructions

Get parameter schemas for specific tools by name (pinned and hidden).

Use after search_tools or before execute/batch to check parameter types and return shapes. Pass detail="full" for complete JSON schemas.

Hidden tools must be called via call, batch, or execute — direct calls will fail because they are not in the client tool list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolsYesTool names to get schemas for.
detailNo'brief' for a one-line signature + summary per tool, 'detailed' for parameter schemas as markdown (default), 'full' for complete JSON schemasdetailed

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

There are no annotations, so the description carries the full burden. It discloses meaningful behavioral details: the nuance of detail levels, that hidden tools are included, and that direct calls to hidden tools fail unless routed through call, batch, or execute. It does not cover unknown-tool error behavior, but the output schema covers return structure.

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?

The description is compact and well-structured: one sentence for purpose, one for workflow context, one for an important parameter tip, and one for the hidden-tool caveat. Every sentence earns its place and there is 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?

Given the tool's moderate complexity, the description covers purpose, workflow placement, and the critical hidden-tool caveat. Since an output schema exists, the description does not need to explain return values. A small gap is that 'pinned' is never defined, but this is minor.

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 both parameters thoroughly. The description adds only a usage hint ('Pass detail="full"'), which is helpful but not extra semantic meaning beyond the enum documentation. Baseline 3 is appropriate.

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?

The description opens with a specific verb and resource: 'Get parameter schemas for specific tools by name.' It further narrows scope to 'pinned and hidden' tools and positions itself relative to search_tools and execute/batch, so an agent can clearly distinguish it from siblings without opening the schema.

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

Usage Guidelines5/5

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

The description gives explicit workflow placement: 'Use after search_tools or before execute/batch to check parameter types and return shapes.' It also provides a when-not and alternative behavior for hidden tools by stating that direct calls will fail and that call, batch, or execute must be used instead.

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