Skip to main content
Glama

Sigmora

Trim the cut to a duration

sigma_trim_to_duration
Idempotent

Carries out your cut, whole sentences: keepRanges = what stays (all other speech goes), or preferCutRanges alone = what goes (source seconds). Reports the length against targetDurationSec; it never judges what matters. Use: a target length or a short: read the transcript, choose what stays (story, punchline, where it starts) and pass it; report the returned length Not: cutting one named part (find_transcript_phrase then edit_composition) Example: "make it 60 seconds" [edit; free]

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": {
      "projectId": "<projectId>",
      "input": "<input>"
    },
    "name": "sigma_trim_to_duration"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
inputYes
requestNo
projectIdYes
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.
idempotencyKeyNoRequired for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`.
projectSessionIdNoThe `project_session_start` session this call belongs to. Optional; when set, the project journal records the call as your harness session.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the key behavioral consequence: "keepRanges = what stays (all other speech goes)", i.e. everything not listed is discarded, and that output snaps to whole sentences. It also states the tool "never judges what matters" — the agent, not the tool, selects content — and that it reports achieved length against targetDurationSec. It does not explain what the review vs apply mode does or that the existing composition is replaced, which is the main remaining behavioral gap for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the core range semantics, but the compression tips into cryptic: "Use: a target length or a short: read the transcript..." and "[edit; free]" do not parse cleanly as prose. A sentence of ordinary syntax would carry the same content with less re-reading.

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 and the description still flags that the achieved length is reported, so return values are covered. For a tool with nested range objects, a review/apply mode enum, and idempotency requirements, however, the description never says what review mode does versus apply, nor that the cut replaces existing material. Those omissions matter for correct invocation of a mutating tool.

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 coverage is only 43%, but the description compensates for the highest-risk parameters by explaining the two nested range arrays and their relationship: keepRanges is inclusive (what stays), while preferCutRanges alone is exclusive (what goes), both in source seconds. That is genuine meaning beyond the schema, which only types them. The mode enum, request, and the session/idempotency plumbing are left to the schema descriptions.

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?

"Carries out your cut, whole sentences" plus the keepRanges/preferCutRanges explanation makes clear this tool re-cuts a composition down to a target length by keeping or dropping sentence-level ranges. It also differentiates itself from cutting a single named part by pointing at find_transcript_phrase + edit_composition. It does not distinguish itself from the similarly named edit_trim_to_length sibling, so an agent must infer that difference.

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

Usage Guidelines4/5

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

The definition has an explicit "Use:" branch (you have a target length or want a short, so read the transcript, pick what stays, pass it, report the returned length) and an explicit "Not:" branch with named alternatives (find_transcript_phrase then edit_composition) for cutting one named part. The concrete example "make it 60 seconds" anchors the trigger. The telegraphic phrasing leaves the boundary against edit_trim_to_length unaddressed.

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.

Resources