Skip to main content
Glama

Get an automation

get_automation
Read-onlyIdempotent

On one site of the account, named in site. One automation: its trigger and conditions, its steps in order — each an email (its post_id, which get_post and edit_post read and change) or an action — each with its wait after the step before, and how many members are on the way, finished or stopped.

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": {
      "site": "<site>",
      "automation": "<automation>"
    },
    "name": "get_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesThe site to work on, as list_sites names it
automationYesThe automation's id, or its name in any case

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered; the description earns credit for going beyond that by disclosing the returned payload — trigger, conditions, steps in order, per-step wait, and counts of members en route/finished/stopped. It does not cover lookup failure behavior or whether name matching is case-insensitive (the schema does), which keeps it short of 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but it is written as a fragmentary run-on that opens with a prepositional phrase rather than the action, and the mid-sentence digression about post_id / get_post / edit_post interrupts the enumeration of returned fields. The core content is useful; the structure is awkward and not front-loaded.

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 no output schema, the description must describe the return value, and it does so in reasonable detail: trigger, conditions, ordered steps, per-step waits, and member counts. Missing are failure/empty cases and any hint about response size for long automations, but for a 2-parameter read tool this is largely sufficient.

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 both parameters are documented in-schema, including 'id, or its name in any case', so the schema already does the heavy lifting. The description adds only a mild restatement — 'named in site' and 'one automation' — without extra syntax, format, or resolution-order detail. Baseline 3 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 identifies the resource precisely — a single automation on one site — and enumerates its constituent parts (trigger, conditions, ordered steps, waits, member counts), so an agent knows exactly what comes back. It never states the verb explicitly (the 'get' is only in the name/title), and the parenthetical about post_id being something get_post and edit_post 'read and change' is tangential rather than differentiating.

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?

Usage is only implied: the enumeration of returned data and the read-only nature signal 'inspect one automation,' and the site-scoping clause hints at the account/site requirement. There is no explicit guidance on when to call this versus update_automation, get_build, or other siblings, and no stated preconditions such as the automation needing to exist.

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