Skip to main content
Glama

get_schema

Fetch one learned schema with every field, its type, whether it is optional, and how often it actually appears — the real shape of the payload, derived from what this account received rather than guessed from training data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoVersion number, or "current" (the default).
schema_idYesThe schema id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It adds useful context that the schema is derived from actual account-received data, not guessed from training data, which is a behavioral trait. However, it does not disclose potential error behavior, side effects, or confirm it is a safe read-only operation beyond the verb 'fetch'.

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 a single, well-structured sentence that front-loads the action ('Fetch one learned schema') and then elaborates with relevant detail. Every word contributes value with no redundancy 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 simple 2-parameter fetch tool with no output schema, the description adequately covers what is returned (fields, types, optionality, frequency) and notes the account-specific provenance. It could mention the return format, but the summary of contents is sufficient for most use cases.

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?

The input schema already provides descriptions for both parameters (schema_id and version), achieving 100% coverage. The tool description does not add additional parameter-level meaning, so the baseline score of 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?

The description clearly states the tool fetches one learned schema, listing exactly what details are included (fields, types, optionality, appearance frequency). It distinguishes from siblings like list_schemas (which lists schemas) and diff_schema (which compares schemas) by focusing on a single schema's full detail.

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?

The description implies usage when a single schema's detailed structure is needed, and the context is clear. However, it does not explicitly mention alternatives or when not to use this tool, so it falls short of a 5 but has clear context.

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.