Skip to main content
Glama

vibedgames

Model schema

generate_schema
Read-only

A model's input and output schema: what generate's input takes. openapi gives the full OpenAPI document.

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": "generate_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo`compact` (the default) returns the model's catalog entry; `openapi` adds its full OpenAPI 3.0 document, with every input and output fieldcompact
endpoint_idYesA model's endpoint id, as generate models lists it, e.g. `fal-ai/flux/dev`

Output Schema

NameRequiredDescriptionDefault
resultYesThe upstream response body, or null when it had none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds only the shape of the return (input/output schema) and the format distinction, without noting rate limits, auth, or whether unknown endpoint ids error. An output schema exists, so return-value detail is not required.

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 clauses, front-loaded with what is returned and followed by the format distinction. There is no filler, and the key information lands in the first sentence.

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?

With an output schema and read-only annotations already in place, the description needs only to say what the tool yields and how the format option changes it, which it does. The remaining gap is routing guidance relative to `generate_models` and `generate`, which would make it fully self-sufficient.

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 both `endpoint_id` and `format` are already fully documented in the schema, including the enum meanings. The description's "`openapi` gives the full OpenAPI document" largely restates what the schema's enum description already says, adding little new meaning.

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?

The description identifies the resource precisely (a model's input and output schema) and ties it to a concrete consumer, "what generate's `input` takes." It also distinguishes the two return modes (catalog entry vs full OpenAPI document). It stops short of an explicit verb like "returns" or "fetches," which keeps it from a 5.

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

Usage Guidelines3/5

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

Usage is only implied: the mention of `generate`'s `input` hints that this is how you discover the arguments for generate, but there is no explicit when-to-use or when-not-to-use statement. No alternative tool is named or excluded, so the agent must infer that `generate_models` is the discovery step and this is the per-model detail step.

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.