Skip to main content
Glama

Restore range

restore_range

Restores a previously removed source-time interval to the retained ranges and saves a new edit version. Boundary adjustments for sound safety and optional word alignment are reported.

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": {
      "start": "<start>",
      "end": "<end>",
      "project_id": "<project_id>"
    },
    "name": "restore_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.
snap_to_wordsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess."New value: +"Explicit project identifier for this request. The connection's navigation pointer does not select the target."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent mutation, so the description adds real value by disclosing that it saves a new edit version and reports boundary adjustments for sound safety and word alignment. It still omits what happens on overlapping or invalid ranges and what state is left behind on failure, which matters for a mutation with idempotentHint=false.

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?

Two tight sentences, front-loaded with the action and resource, with the reporting behavior second. Nothing is redundant, though the second sentence could be tightened into a clearer statement of returned adjustment data.

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?

With no output schema and only one annotated parameter, the description carries substantial burden. It covers the versioning side effect and adjustment reporting but not units on start/end, overlap handling, or failure modes, leaving an agent under-informed for a mutation tool.

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 description coverage is only 25% (project_id alone is documented), so the description must compensate. It does partially: 'source-time interval' implies start/end are in source time rather than timeline time, and 'optional word alignment' maps to snap_to_words, but units, ordering, and snapping semantics remain unspecified.

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 ('Restores') and a precise resource ('a previously removed source-time interval to the retained ranges'), which lets an agent tell it apart from cut-style siblings by the 'previously removed' qualifier. It never names the inverse operation (cut_range/keep_segments) explicitly, so the differentiation is inferential rather than stated.

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: 'previously removed' suggests it should be called after a cut removed a range, but there is no explicit when-to-use, no preconditions (e.g., the range must currently be excluded, project must be open), and no mention of alternatives such as keep_segments or cut_range.

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.