Skip to main content
Glama

Get schedule version

get_schedule_version
Read-onlyIdempotent

Read back the full stored definition of a schedule 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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_schedule_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNothe schedule slug (provide this or schedule_id)
versionNospecific version to fetch; omit (0) for the latest version
schedule_idNothe schedule id (provide this or slug)

Output Schema

NameRequiredDescriptionDefault
versionYes
definitionYes
content_sha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds genuinely new behavior: the definition is returned as a JSON string requiring parsing, and a checksum accompanies it, which matters for diff/patch/resubmit workflows.

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 sentences, no filler: purpose first, then return shape, then the version-omission rule. Every sentence carries information an agent would otherwise have to infer.

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?

Output schema exists, but the description still clarifies the JSON-string return and checksum, which is the key detail for downstream diff/patch use. For a read-only lookup with full schema coverage, nothing needed to invoke it correctly is missing.

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 already documents slug vs schedule_id and 'omit (0) for the latest version'. The description restates the slug-or-id choice and the omit-version behavior without adding format or edge-case detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource: reads back the full stored definition of a schedule version, keyed by slug or id. This clearly separates it from get_schedule (current schedule state) and list_schedule_versions (enumeration), which appear as siblings.

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?

Explicitly says to omit version for the latest, and frames the use case: parse the body to diff or patch and resubmit as a new version. It stops short of naming exclusion conditions against get_schedule/get_schedule_definition_schema, but the context for choosing this tool is clear.

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