Skip to main content
Glama
API Documentation MCP

API Documentation MCP

by REMR11

Detalle de esquema

get_schema
Read-onlyIdempotent

Retrieves resolved properties, types, constraints, and references for a specified schema in an OpenAPI 3.x specification.

Instructions

Devuelve propiedades, tipos, restricciones y referencias ya resueltas de un esquema.

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": {
      "schemaName": "<schemaName>"
    },
    "name": "get_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemaNameYesNombre del esquema en components.schemas.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds one genuinely useful behavioral fact beyond them: references are returned 'ya resueltas', so no follow-up resolution calls are needed. It omits error behavior for unknown schema names, which keeps it from a 5.

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?

A single front-loaded sentence with no filler or redundant restatement of the title. It is tight, though its brevity comes partly at the cost of the usage guidance that a second sentence could have supplied.

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

Completeness5/5

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

For a one-parameter read-only lookup with full schema coverage, rich annotations and no output schema, the description effectively summarizes the return payload (properties, types, restrictions, resolved refs). An agent has everything it needs to invoke it correctly.

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 parameter already documents that schemaName refers to a name in components.schemas. The description adds no additional meaning about the parameter, so the baseline 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?

States a specific verb (devuelve) and resource (un esquema) and enumerates what comes back: propiedades, tipos, restricciones y referencias resueltas. That is enough to tell it apart from list_endpoints or search_documentation, but it never names a sibling, so sibling differentiation is only implicit.

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

Usage Guidelines2/5

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

The description contains no when-to-use or when-not-to-use guidance and no prerequisites (e.g. that the schema must pre-exist in the document). An agent must infer from the parameter that this is a lookup by known schema name, with no hint about choosing between this and get_endpoint or search_documentation.

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