Skip to main content
Glama

Read a version

get_version
Read-only

One approved version and every file in it, each with its address and sha256. Ask for latest to get the version the brand points at now: the CLI resolves it here, then fetches the files of that exact version. Versions are public: no key needed. Costs no credits.

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": {
      "slug": "<slug>",
      "version": "<version>"
    },
    "name": "get_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description adds context the annotations cannot: versions are public, no API key is required, and calls consume no credits. It also states what the response contains in the absence of an output schema.

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?

Three short sentences, front-loaded with the return payload before the `latest` caveat and the auth/cost facts. Slightly informal backticked tokens and the CLI implementation aside are minor, but nothing is redundant.

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 two-parameter read tool with no output schema, the description covers return shape, the special version value, auth requirements and billing impact. Remaining gaps are small: the meaning of `slug` and any error behavior for a nonexistent version.

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 0%, so the schema shows only constraints (slug regex, version as 'latest' or a positive integer) without explaining intent. The description clarifies that 'latest' means the version the brand currently points at, which is meaningful addition, but `slug` is never explained and no format details are given for numeric version values.

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 first sentence names a specific resource and its payload: one approved version plus every file with address and sha256. That is precise enough that an agent can distinguish it from list_versions or read_repo without consulting schemas, though it does not explicitly name the sibling it contrasts with.

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 real guidance for the `latest` sentinel and explains the two-step resolve-then-fetch flow, which is genuinely useful when-to-use context. It says nothing about when to pick this over list_versions, read_repo, or restore_version, so tool-level alternative selection is left implicit.

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