Skip to main content
Glama

get_version

Read-onlyIdempotent

Retrieve an OpenProject version by ID with its full description, and optionally cap description length using text_limit to control response size.

Instructions

Get a version by id, including its full description.

The description is returned in full by default (single versions are not truncated). Pass text_limit to cap it at that many characters; when the text is cut, description_truncated is true and description_length reports the real length.

Input Schema

NameRequiredDescriptionDefault
text_limitNo
version_idYes

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
statusYes
sharingYes
end_dateYes
created_atNo
start_dateYes
updated_atNo
descriptionYes
defining_projectYes
description_lengthNo
description_truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.4
  2. Removedv0.4.0
  3. Changed3 schema fields changedv0.3.7
    • addedInput schema / additionalProperties
      Added value: +false
    • removedOutput schema / properties / url
      Removed value: -{
      -  "title": "Url",
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "status",
      -  "sharing",
      -  "start_date",
      -  "end_date",
      -  "defining_project",
      -  "description",
      -  "url"
      -]New value: +[
      +  "id",
      +  "name",
      +  "status",
      +  "sharing",
      +  "start_date",
      +  "end_date",
      +  "defining_project",
      +  "description"
      +]
  4. Addedv0.3.3
  5. Removedv0.3.0
  6. First observedv0.2.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description goes beyond them by disclosing a real behavioral trait: text is returned whole by default, and truncation only occurs when text_limit is supplied, exposed via description_truncated and description_length.

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 primary purpose is front-loaded in one sentence, and the second sentence is dedicated to the only non-obvious parameter. Backticked field names and a line break are slightly noisy but every clause carries meaning; 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 simple two-parameter getter with an output schema, the description covers the non-obvious input and the truncation contract. Missing only edge-case behavior such as what happens for an unknown version_id, which is a modest gap rather than a blocker.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry the load — and it fully explains text_limit's semantics (default null means full text, a value caps at N chars, and cut text flags description_truncated with the true length). version_id is left as an obvious integer identifier, which is a minor gap but low risk.

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?

States a specific verb and resource ('Get a version by id') plus scope ('including its full description'), so it is clearly a single-item fetch. It contrasts implicitly with list_versions through the 'single versions are not truncated' note, but never names a sibling explicitly.

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?

Usage is only implied: it is clear you need a version_id to call it, and the truncation note hints this is the detailed single-record read versus list_versions. There is no explicit statement of when to prefer this over list_versions or update_version, and no prerequisites or failure conditions are described.

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

Deploy Server

Other Tools