Skip to main content
Glama

Take procedure step

take_step

Write: claim a WAITING_AGENT step (needs grant). Returns attempt_id; follow next_action. For an already RUNNING step use resume_step. Do not invent attempt ids. Optional expected_*_revision for optimistic concurrency (stale → conflict).

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": {
      "id": "<id>"
    },
    "name": "take_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProcedure UUID or silvalabs:procedure/<uuid>/<name>#grant=…
grantNoRaw grant token; optional if already in procedure id (#grant= or ?grant=)
confirm_takeoverNoPrefer resume_step with confirm_takeover for foreign RUNNING steps
expected_context_revisionNoOptimistic concurrency; omit unless you have a known revision
expected_instruction_revisionNoOptimistic concurrency; omit unless you have a known revision

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only flag this as a non-read-only, non-idempotent, non-destructive write. The description adds context the annotations cannot: a grant token is required for authorization, an attempt_id is minted per call, callers must not fabricate attempt ids, and stale expected revisions surface as a conflict. That is meaningful behavioral disclosure beyond the structured fields.

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?

Very short and front-loaded: the write/claim nature comes first, then the return contract, then the sibling routing. The telegraphic phrasing ("Write:", "needs grant") is efficient but borders on cryptic, which is the only reason this is not a 5.

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?

With no output schema, the description correctly compensates by naming the returned attempt_id and instructing the agent to follow next_action. Minor gap: the shape and possible values of next_action are never characterized, and WAITING_AGENT is used without definition.

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 100%, so the baseline is 3; the description earns a bump by explaining why expected_*_revision exists (optimistic concurrency, stale → conflict) and tying grant to authorization. It does not clarify the difference between the two revision parameters beyond the schema, which is the only remaining gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("claim a WAITING_AGENT step") plus the precondition ("needs grant") and the result ("Returns attempt_id"). It explicitly distinguishes itself from the sibling resume_step, so an agent can choose between them without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit alternative with the selecting condition: "For an already RUNNING step use resume_step." It also adds a guardrail ("Do not invent attempt ids") and points to next_action as the follow-up path, leaving little to inference.

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