Skip to main content
Glama

List routines

list_routines
Read-onlyIdempotent

Lists the person's routines: id, name, how many steps, and whether it stays open as a list. Give match to narrow by name. Read from the phone itself, which has to be reachable.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_routines"
  }
}

Input Schema

NameRequiredDescriptionDefault
matchNoPart of a name, to narrow the list.

Output Schema

NameRequiredDescriptionDefault
routinesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "routines": {
      +      "items": {
      +        "properties": {
      +          "id": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "severalAtOnce": {
      +            "description": "Whether a second start makes a second run rather than carrying on the first.",
      +            "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": {
      +            "description": "A list that stays open, which add_step adds to.",
      +            "type": "boolean"
      +          },
      +          "steps": {
      +            "description": "How many steps it has.",
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "name"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "routines"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely non-structured context: the data is read from the phone itself and the phone has to be reachable, meaning the call can fail for device-availability reasons — that is exactly the kind of disclosure annotations cannot express.

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?

Three short sentences, front-loaded with what is returned and then the filter and the device constraint; nothing is padded. Minor awkwardness in 'Give match to narrow by name' keeps it from being maximally tight.

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?

An output schema exists, so return values need no further explanation, and the one optional parameter is fully covered. The device-reachability caveat covers the main non-obvious failure mode; only the behavior of an unmatched filter (empty list vs error) 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 coverage is 100% and the single 'match' parameter is already documented as 'Part of a name, to narrow the list.' The description restates essentially the same meaning without adding format, matching semantics (prefix vs substring), or case-sensitivity details, so it sits at the baseline for a fully documented schema.

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?

States a specific verb and resource ('Lists the person's routines') and names the fields returned (id, name, step count, open-as-list flag), which pins down what an agent will get. It does not explicitly contrast with the sibling get_routine for a single routine, so differentiation is left partly to the plural/singular naming.

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

Usage Guidelines3/5

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

'Give match to narrow by name' tells the agent how to filter, which is actionable guidance. However, it never states when to use this versus get_routine for a single routine, or when the optional filter should be omitted entirely — usage is implied rather than spelled out.

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.