Skip to main content
Glama

Get dynamic endpoint version

get_dynamic_endpoint_version
Read-onlyIdempotent

Read back the full stored definition of a dynamic endpoint version by slug or id. Returns the exact definition body that was authored (as a JSON string, so you can parse it to diff or patch and resubmit as a new version) plus its checksum. Omit version to get the latest version.

Input Schema

NameRequiredDescriptionDefault
slugNothe endpoint slug (provide this or endpoint_id)
versionNospecific version to fetch; omit (0) for the latest version
endpoint_idNothe endpoint id (provide this or slug)

Output Schema

NameRequiredDescriptionDefault
versionYes
definitionYes
content_sha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 the description still adds real substance: the definition comes back as a JSON string body plus a checksum, and omitting version defaults to latest. It stops short of covering error behavior for an unknown slug or version, which would complete the picture.

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?

Three tight sentences: what it returns, what the payload is useful for, and the version default. Front-loaded with the core action and free of 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?

With an output schema present, the description needn't explain return structure, and it correctly focuses on the JSON-string body and checksum. Coverage is nearly complete for a read tool; only failure modes for invalid slug/version are unaddressed.

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 coverage is 100% and all three parameters are documented in the schema, including the 'omit (0) for latest' semantics. The description only restates the slug/id alternative and the version default, adding no format or edge-case detail beyond the schema.

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 uses a specific verb+resource pair ('Read back the full stored definition of a dynamic endpoint version') and scopes it by slug or id. It implicitly distinguishes itself from get_dynamic_endpoint (metadata) by emphasizing 'full stored definition', but it never names the sibling, so an agent must infer the boundary.

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?

It gives a clear use context ('so you can parse it to diff or patch and resubmit as a new version') and states that omitting version gets the latest. It does not say when to prefer this over get_dynamic_endpoint, get_dynamic_endpoint_definition_schema, or list_dynamic_endpoint_runs, leaving the sibling routing to inference.

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