Skip to main content
Glama

Equity Research Pilot

research_segment_save

Idempotent

Save an immutable segment plan, including incomplete drafts. UUID request_id is retry-safe.

    Use supersedes for revisions; no version forks or overwritten old plans/reports. Project
    references must still match the expected revision. Saving is not approval or execution.
    

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": {
      "request_id": "<request_id>",
      "project_id": "<project_id>",
      "expected_project_revision": "<expected_project_revision>",
      "plan": "<plan>"
    },
    "name": "research_segment_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYes
project_idYes
request_idYes
supersedesNo
expected_project_revisionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare write, idempotent, non-destructive, closed-world, but the description adds substantive behavior the agent could not infer: plans are immutable, no version forks or overwrites of prior plans/reports, the project reference must match the expected revision, and a UUID request_id makes retries safe. The 'saving is not approval or execution' caveat prevents a serious misinterpretation of side effects.

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?

Roughly four short sentences, each carrying distinct information, with the core purpose front-loaded. The odd indentation/line breaks from the source formatting are cosmetic only; no sentence 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 5-parameter write tool with a nested free-form plan object, the description covers the operation's semantics, revision model, idempotency, and side-effect boundaries, and an output schema exists so return values need not be explained. What remains thin is the expected structure of the plan payload, which is left entirely to additionalProperties.

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 0%, so the description must carry the load, and it does for the key parameters: request_id is a retry-safe UUID, supersedes is the revision mechanism, and expected_project_revision is a concurrency guard that must match. It says little about project_id or the internal shape of the nested plan object beyond immutability/draft tolerance, leaving some gaps.

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 ('Save an immutable segment plan') with a meaningful scope qualifier ('including incomplete drafts'), so the agent knows exactly what the call persists. It doesn't explicitly name which sibling to use for the read/execute counterparts, but the line 'Saving is not approval or execution' implicitly carves it out from research_segment_run and approval flows.

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?

Gives actionable context: drafts are permitted, revisions must go through 'supersedes' rather than forking versions, and saving does not constitute approval or execution. It stops short of naming alternatives (e.g., research_segment_precheck or research_segment_run) or stating when-not to call it, so it is clear context without explicit routing.

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