Skip to main content
Glama

Get Automation Readiness

getAutomationReadiness
Read-onlyIdempotent

What still has to be set up before an automation can run on real work. Call this first for a readiness question ("what do I still need to set up", "is it ready to run", "why isn't it running") and before checking an automation's Connections, Logins or Secrets one by one. Each of items is { key, label, status: ok | missing | broken, detail, link, link_tab } and covers one of: required Policy questions still open, Connections with no working account pinned or that need reconnecting, Logins and Secrets (present or missing, never their values), Queue slots with no Queue linked, Queues with routing off, no Agent or an Agent that is not live yet, what starts it (a Trigger, a Schedule, or Cases added to a routed Queue), the active revision and a pending draft, and whether it is still a demo. While a Module is being set up and its proposal has not been approved, items covers only its setup: required Policy questions, the current process map (setup:process_map) and the automation proposal (setup:automation_proposal), or, when its setup progress is unavailable, one setup item linked to the setup's Get started page, whose approval builds the automation; Connections, Queues and what starts it are checked again once the approved proposal is being built. Lead with what is missing or broken, each with its own link (named by link_tab); never build a link. Quote counts from summary, including connections_to_fix, rather than counting items. ready is null when the caller can't read the Policy; note then says what to tell the user. A Connection only the caller can see counts for the caller. When links_note is present, give no link to the automation at all. Each link is a path in the Duvo web app; give the user the full URL beside it (url, and urls for links).

Input Schema

NameRequiredDescriptionDefault
automation_idYesAutomation ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description goes well beyond them: it discloses the special read-scoped mode during Module setup, that `ready` is null when the caller lacks Policy read access, that a Connection visible only to the caller counts for the caller, and that `links_note` suppresses automation links entirely. These are non-obvious edge cases an agent could not infer from the 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?

Purpose and the 'call this first' instruction are front-loaded, and with no output schema much of the length is justified by response-shape detail (item fields, summary counts, url/urls pairing). However, the middle is a dense run-on catalog that would read far better as a short list, and a few clauses (e.g. the setup-progress fallback) are hard to parse on one pass.

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?

No output schema exists, so the description carries the burden of describing return values, and it does: `items` shape with every field, the enumerated categories it can cover, `summary` counts, `ready` nullability, and the link/url pairing. Combined with the read-only annotations, an agent has what it needs to call this and present results correctly.

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?

There is a single required parameter, `automation_id`, documented at 100% schema coverage as a UUID. The description never discusses it, so the schema does all the work here; that matches the baseline-3 case for high schema coverage with no added parameter meaning.

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?

Opens with a concrete framing: 'What still has to be set up before an automation can run on real work.' That is a specific diagnostic resource rather than a restatement of the name, and it is clearly separated from sibling readers like getAutomation, listConnections, or readAutomationPolicy.

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

Usage Guidelines5/5

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

Explicitly says 'Call this first for a readiness question' and gives the user phrasings that trigger it, plus a negative rule: use it 'before checking an automation's Connections, Logins or Secrets one by one.' That names both the alternative path and the condition that selects this tool.

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