Skip to main content
Glama

get_segments

Fetch filtered segments from the active Trados document to inspect translation units by status, lock state, comments, match range, segment number, or text, avoiding stale disk files.

Instructions

Fetch filtered segments from the active live Trados document (never reads stale disk .sdlxliff).

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_segments"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
limitNo
lockedNo
offsetNo
statusNo
containsNo
match_maxNo
match_minNo
to_numberNo
from_numberNo
has_commentsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose one genuinely useful trait: it reads the in-memory live document and explicitly never reads a stale disk .sdlxliff. However, it never states that the operation is read-only, says nothing about result ordering or pagination behavior, and gives no hint about the shape of the filtered result set.

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 the key scoping fact in parentheses and no filler. It is efficient, though the brevity borders on under-specification given the parameter surface.

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

Completeness2/5

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

The output schema and schema defaults (limit 50, offset 0) relieve some burden, but for an 11-parameter filter tool with zero annotation coverage and zero schema descriptions, one sentence about the data source is not enough to invoke it correctly. Filter semantics and paging behavior are entirely undocumented.

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

Parameters1/5

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

There are 11 parameters at 0% schema description coverage, and the description explains none of them. Terms like 'filtered' imply that 'status', 'contains', 'locked', 'has_comments', 'match_min'/'match_max', and 'from_number'/'to_number' narrow the result, but no parameter's meaning, format, or interaction is clarified anywhere.

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 ('Fetch filtered segments') and pins the source ('the active live Trados document'), so the agent knows exactly what data is returned. It does not distinguish itself from the sibling 'find_segments', whose name suggests overlapping intent, leaving an ambiguity the description never resolves.

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?

The parenthetical explains the data source (live document rather than disk file), which is context but not selection guidance. There is no statement of when to prefer this over 'find_segments' or 'get_segment_context', no prerequisites, and no exclusions.

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