Skip to main content
Glama

Routine Run: write a routine

Find a ready routine

find_starter_routine
Read-onlyIdempotent

Searches the routines the app ships — mornings, focus, on call, chores and more — by words in their name or description. Each comes with its steps and a link that adds it in the app.

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

Input Schema

NameRequiredDescriptionDefault
wordsNoWhat it is for, in a few words. Leave out to list them all.

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": {
      +          "description": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "group": {
      +            "description": "The shelf it is on in the catalogue.",
      +            "type": "string"
      +          },
      +          "link": {
      +            "description": "Opens it in the app, to add.",
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "needs": {
      +            "description": "What it depends on that the app cannot give it: a shortcut, a Home scene, Health.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "page": {
      +            "description": "Its page on the site.",
      +            "type": "string"
      +          },
      +          "steps": {
      +            "description": "Its steps' titles, in order.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "name"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "routines"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint, and closed-world scope, so the safety profile is covered elsewhere. The description adds that results carry their steps and an install link, which is mild extra context and partly overlaps the existing output schema.

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?

Two tight sentences, front-loaded with the verb and scope. The em-dash catalog list is compact and the result-shape note follows logically; nothing is padded, though the second sentence is somewhat optional given the output schema.

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?

One optional parameter, full schema coverage, complete annotations, and an output schema mean little more is needed. The description covers what the tool searches and what comes back, so an agent can invoke it correctly without additional text.

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 already documents its purpose and the omit-to-list-all behavior, so the baseline applies. The description's 'name or description' match scope adds a little meaning that the schema's 'what it is for' phrasing lacks, but not much.

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?

A specific verb ('Searches') and a specific resource ('the routines the app ships'), with examples of the catalog (mornings, focus, on call, chores). This implicitly separates it from list_routines and get_routine by scoping it to built-in starter content, though it never names those siblings.

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?

It states the search key ('words in their name or description') and that omitting the argument lists everything, which is usable context. It gives no explicit when-to-use/when-not guidance relative to list_routines or how_to_write_a_routine, leaving routing 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.