Skip to main content
Glama

find_segments

Search live Trados Studio document segments by substring or regex across source, target, or both, with status and case filters to locate text for review or QA.

Instructions

[READ] Search live document segments by substring or regex across source, target, or both.

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": "find_segments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
regexNo
statusNo
search_inNoboth
case_sensitiveNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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; the [READ] prefix usefully discloses the operation is non-mutating. It also reveals matching semantics (substring vs regex) and the 'live document' scope. It says nothing about result volume, ordering, or that a limit applies, which matters for a search tool.

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?

A single front-loaded sentence with no filler; the [READ] marker and the match-mode and scope details are packed in without redundancy.

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?

An output schema exists, so return values need not be explained, and the sentence covers purpose, mode, and field scope for a 6-parameter read-only search. The gap is the undocumented limit/status/case_sensitive semantics, which leaves an agent guessing at result paging and filtering.

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 coverage is 0%, so the description must compensate, yet it only partially covers query (substring or regex) and search_in (source/target/both); regex is mentioned though the flag itself is not. The limit, status, and case_sensitive parameters get no meaning at all from the description.

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 (Search) and resource (live document segments) plus the match modes and field scope, which separates it from get_segments and find_and_replace. It does not explicitly name a sibling to contrast with, so it stops short of a 5.

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?

'Search live document segments' implies the use case (locating segments rather than listing or replacing text), and the [READ] tag signals it is non-mutating. However, there is no explicit guidance on when to pick this over get_segments or find_and_replace, and no statement of exclusions or prerequisites.

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