Skip to main content
Glama

Get procedure

get_procedure
Read-onlyIdempotent

Read-only: procedure overview — status, current step summary, next_action (needs scenario:execute). Not a single-step body (use view_step). Never invent attempt_id; follow next_action. Without grant you may read but cannot claim; with grant continue via take_step / resume_step.

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": "get_procedure"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProcedure UUID or silvalabs:procedure/<uuid>/<name>#grant=…
grantNoRaw grant token; optional if already in procedure id (#grant= or ?grant=)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, but the description adds real behavioral context they cannot carry: the grant/no-grant distinction (read allowed, claim not allowed) and the fact that next_action is gated behind scenario:execute. It does not describe error or failure behavior when an attempt_id is stale, which keeps it from a 5.

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?

Front-loaded with the read-only scope and the returned fields, then the exclusion, then the grant rules. Every clause carries information, though the telegraphic style ('needs scenario:execute') is slightly compressed and costs a moment of parsing.

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?

There is no output schema, so the description must convey returns, and it does name the three key fields plus the required scope. For a two-parameter read tool the coverage is nearly sufficient; the only gap is where attempt_id actually comes from beyond 'follow next_action'.

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 still adds meaning by explaining the consequence of the optional grant (read vs. claim) and by warning that ids must not be fabricated. That is the practical effect of the parameters, not a restatement of their types.

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 ('procedure overview') and enumerates what it returns: status, current step summary, next_action. It explicitly carves itself away from the sibling 'view_step' by saying it is 'Not a single-step body', 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 explicit routing: use view_step for a single step body, take_step / resume_step to continue when a grant is present, and read-only access when no grant exists. It also states a hard operational rule ('Never invent attempt_id; follow next_action') and names the scope next_action requires (scenario:execute).

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