Skip to main content
Glama

get_version_tree

Read-onlyIdempotent

Lists ancestor and descendant versions with hash-verified preview paths so you can inspect a job's version hierarchy and verify each preview before selecting a build.

Instructions

List ancestors and descendant versions with hash-verified preview paths.

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": {
      "job_id": "<job_id>"
    },
    "name": "get_version_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Output Schema

NameRequiredDescriptionDefault
dataYes
statusNook

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.6

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description contributes the non-obvious fact that returned preview paths are hash-verified, which tells the agent results are trustworthy references rather than live renders, but says nothing about tree depth, truncation, or missing ancestors.

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?

A single front-loaded sentence with no filler; the core operation comes first and the qualifier about preview paths follows. It is tight, though its brevity is part of why the parameter and usage gaps remain.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no prose explanation, and annotations carry the safety semantics. What is missing is the meaning of job_id and any hint about tree shape or when this tool is the right choice, which for a lineage-query tool is a real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the sole parameter (job_id) is never mentioned in the description, so nothing clarifies whether it identifies the job whose version tree is returned or a specific version to root the tree at. With one undocumented required parameter, the description should have compensated and does not.

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 pairs a specific verb ('List') with a specific resource ('ancestors and descendant versions'), and adds that results carry 'hash-verified preview paths'. That is enough to distinguish it from sibling reads like refresh_native_version or get_job, though it never states that the tree is scoped to a single job.

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

Usage Guidelines2/5

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

There is no guidance on when to reach for this versus refresh_native_version, get_job, or the inspect_* tools, and no statement of preconditions. The agent must infer that this is the tool to call when it needs lineage rather than a single version.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.