Skip to main content
Glama

Get Version

get_version
Read-only

Get one spec version with its status, release notes, alias, publish and deprecation timestamps, its server URL and base path (null inherits the spec's), the server URL the export writes (exportServerUrl), and the rowVersion needed to edit it. Use this when you already have the version id; to browse a spec's versions or find an id use list_versions. Requires project context.

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": {
      "specId": "<specId>",
      "versionId": "<versionId>"
    },
    "name": "get_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
specIdYesPublic ID (GUID) of the API specification
versionIdYesPublic ID (GUID) of the version

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes the safety profile, but the description adds substantive behavior beyond annotations: it lists returned fields, explains null inheritance for server URL and base path, mentions exportServerUrl, notes that rowVersion is needed for editing, and states the project-context requirement.

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?

The description is front-loaded with the action and returned fields, then closes with a clear usage guideline and alternative. It is dense but appropriate for a tool with no output schema; the long field enumeration is functional rather than wasteful.

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?

Given the simple two-parameter schema, read-only annotation, and no output schema, the description provides enough detail for correct invocation and interpretation. It covers purpose, key return values, inheritance semantics, edit-related rowVersion, context requirement, and the sibling alternative.

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 specId and versionId are already documented in the schema. The description reinforces that the caller must already have the version id, but it does not add format or semantic detail beyond what the schema provides.

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 opens with a specific verb and resource: 'Get one spec version'. It immediately enumerates the returned fields and distinguishes this operation from browsing multiple versions, so an agent can identify the tool without opening the schema.

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

Usage Guidelines5/5

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

It explicitly states when to use the tool: 'Use this when you already have the version id'. It also names the alternative for browsing or finding an id: 'use list_versions'. The prerequisite 'Requires project context' is stated directly.

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