Skip to main content
Glama

Get a procedure

get_procedure
Read-only

Read one procedure in full: its When to use and examples, where it runs (channels, inboxIds, mediums), Only if conditions, steps (text and chips: a detail to collect or use, a knowledge source to look in too, an action to run, or answers the customer taps as buttons), finish, what it does when the customer changes subject, status, and draft (the edits not live yet, in the same shape, or null). Read it before changing it.

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": {
      "procedureId": "<procedureId>"
    },
    "name": "get_procedure"
  }
}

Input Schema

NameRequiredDescriptionDefault
procedureIdYesThe procedure id, from list_procedures.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false. The description adds useful behavioral context beyond that by explaining that `draft` holds not-yet-live edits and may be null, and by enumerating the returned procedure content.

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?

The description is front-loaded with the core action and then lists the relevant procedure sections without filler. It is dense and long in a single sentence, but every clause describes a substantive part of what is returned.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the burden of explaining what comes back. It does so thoroughly by enumerating the procedure fields, step shapes, status, and the `draft` object or null, leaving little ambiguity for an agent invoking the tool.

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 description coverage is 100%, and the single `procedureId` parameter is documented in the schema as coming from list_procedures. The description does not add further parameter-level detail, which is acceptable given the schema coverage baseline.

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?

The description opens with a specific verb and resource: 'Read one procedure in full.' It then enumerates exactly what is included, including conditions, steps, finish behavior, status, and draft, which clearly distinguishes this from sibling read tools such as get_draft.

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?

It gives clear workflow guidance with 'Read it before changing it,' indicating when to fetch this before a mutation. However, it does not explicitly name alternatives or when not to use this tool, so it falls short of full when/when-not 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.