Skip to main content
Glama

Get a routine

get_routine
Read-onlyIdempotent

One routine's description and its steps in order, with ids, descriptions and minutes, and its version — name that version when proposing a change to 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": {
      "routine": "<routine>"
    },
    "name": "get_routine"
  }
}

Input Schema

NameRequiredDescriptionDefault
routineYesThe routine's name or id.

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
stepsYes
versionNoWhich version this is: give it to propose_routine_change.
writtenNoThe routine in the written form, to change and send back whole to propose_routine_change.
staysOpenNo
startsWithNoThe values its name and steps need at Start, which start_run takes as `values`.
descriptionNoWhat it says about itself; empty when it says nothing.
severalAtOnceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "description": {
      +      "description": "What it says about itself; empty when it says nothing.",
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "severalAtOnce": {
      +      "type": "boolean"
      +    },
      +    "startsWith": {
      +      "description": "The values its name and steps need at Start, which start_run takes as `values`.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "staysOpen": {
      +      "type": "boolean"
      +    },
      +    "steps": {
      +      "items": {
      +        "properties": {
      +          "description": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "minutes": {
      +            "type": "number"
      +          },
      +          "number": {
      +            "type": "integer"
      +          },
      +          "off": {
      +            "description": "Turned off: runs pass it by.",
      +            "type": "boolean"
      +          },
      +          "title": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "title"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "version": {
      +      "description": "Which version this is: give it to propose_routine_change.",
      +      "type": "string"
      +    },
      +    "written": {
      +      "description": "The routine in the written form, to change and send back whole to propose_routine_change.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "name",
      +    "steps"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that steps come back in order and that the version is the identifier to cite when proposing changes, which is useful behavioral context beyond the annotations, but it says nothing about failure modes such as an unknown routine name or ambiguous name-vs-id lookup.

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?

One sentence, front-loaded with the returned resource and its fields, ending with the actionable version guidance. It is slightly dense in its enumeration of returned fields but contains no filler.

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 an output schema present and rich read-only annotations, the description need only frame what is returned and why it matters; it does both, including the version's role in change proposals. Only the lookup/error behavior for the single required parameter is left unstated.

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 parameter is already documented as 'the routine's name or id'. The description does not restate or enrich the parameter semantics, so the baseline 3 for schema-covered parameters applies.

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 resource (one routine) and enumerates the returned payload: description, ordered steps with ids, descriptions and minutes, plus a version. It is clearly a single-item read rather than a list, though it never explicitly contrasts itself with list_routines or get_run.

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 a concrete downstream usage rule: name the returned version when proposing a change to the routine, which links it to the propose_routine_change workflow. It offers no exclusion guidance (e.g., when to prefer list_routines or get_run), so it falls short of a full when/when-not statement.

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.