Skip to main content
Glama

Rename a stage

rename_stage

Renames one of a job's stages, the inbox too.

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": {
      "jobId": "<jobId>",
      "stageId": "<stageId>",
      "name": "<name>"
    },
    "name": "rename_stage"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
jobIdYesThe job's ID, from list_jobs.
stageIdYesThe stage's ID, from get_job.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.1/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, closed-world mutation, so the safety profile is covered. The description adds one non-obvious scope fact — that the inbox stage can also be renamed — but says nothing about whether renaming affects existing applications, automations, or stage-linked emails.

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 nine-word sentence with the action front-loaded and no filler. The only weakness is that the trailing 'the inbox too' fragment is ambiguous rather than informative, costing a bit of clarity for its brevity.

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?

For a required-parameter mutation with no output schema and an undocumented 'name' field, the description is too thin. It never states what happens on success, whether the rename propagates to existing applications in that stage, or any naming constraints — all of which the agent would need to call this correctly.

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 coverage is 67%: jobId is documented as coming from list_jobs and stageId from get_job, while the required 'name' parameter has no schema description at all. The tool description does not compensate for that gap, offering no constraints, length limits, or examples for the new stage name.

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?

The description names a specific verb and resource ('Renames ... a job's stages'), which is enough to distinguish it from add_stage, delete_stage and reorder_stages. The trailing clause 'the inbox too' extends the scope to the inbox stage, but the phrasing is cryptic and never clarifies whether 'inbox' is a distinct stage type or a sibling concept.

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?

There is no guidance on when to use this tool versus related siblings such as add_stage, delete_stage or reorder_stages, and no mention of prerequisites like needing an existing job and stage. The agent must infer the use case entirely from the name.

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