Skip to main content
Glama

Read model inputs

get_endpoint_schema
Read-only

get the structured input/output schema for any catalogue endpoint. use before run_endpoint to see accepted parameters.

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": {
      "endpoint_id": "<endpoint_id>"
    },
    "name": "get_endpoint_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
endpoint_idYesexact endpoint id (e.g. "fal-ai/flux-2"). use get_endpoint_docs to discover ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, non-destructive, and closed-world, so the safety profile is covered. The description adds what annotations cannot: that the call returns both input and output schema (notably, there is no output schema in structured fields), and that it belongs ahead of run_endpoint. It does not say what happens for an unknown endpoint id, 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.

Conciseness5/5

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

Two short sentences, zero filler, with the resource defined first and the usage rule second. Nothing could be removed without losing information.

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 single-parameter, read-only, fully documented tool, this is close to complete: purpose, return content, and sequencing are all present. The only omission is error behavior for invalid ids, which is minor given the safety annotations and full schema coverage.

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 schema itself defines endpoint_id with an example format and a pointer to get_endpoint_docs for discovery. The description adds no further parameter meaning, 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 ('get') and resource ('structured input/output schema for any catalogue endpoint'), which is clear and distinct from run_endpoint's execution role. It falls short of a 5 because it does not explicitly distinguish itself from get_endpoint_docs, the other read-only discovery sibling; that linkage only appears inside the parameter schema, not the description.

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 before run_endpoint to see accepted parameters' gives an explicit workflow position and the reason for calling it. There is no when-not guidance, but for a read-only schema lookup the prerequisite framing covers the practical decision an agent needs to make.

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.

Resources