Skip to main content
Glama

Get an automation

get_automation
Read-only

One automation in full: its trigger and conditions, the template it publishes, the accounts it posts to (targets), the options it adds (metadata), the cooldown / daily cap / delay that hold it back, and its counters. Needs the automations permission: a connection authorized before it existed must be reconnected (remove PostRite from the assistant and add it again).

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

Input Schema

NameRequiredDescriptionDefault
automationIdYesThe automation's ID (from list_automations)
organizationIdNoOrganization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one.

Output Schema

NameRequiredDescriptionDefault
idNo
nameNo
runCountNo
isEnabledNo
templateIdNo
triggerTypeNo
templateNameNo
lastTriggeredAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds real context beyond them: the permission scope required and the non-obvious fact that connections authorized before the automation existed must be removed and re-added. It does not cover error behavior or pagination, but neither is expected for a single-resource get.

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 sentences: the first front-loads the identifier and enumerates the returned fields compactly, the second delivers the permission caveat. The field list is dense but each clause maps to a distinct part of the payload; nothing is padded.

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, the description needn't explain return values, yet the field enumeration still helps the agent decide whether this call is worth making. Combined with the permission and reconnection guidance, only the absence of explicit sibling routing keeps it from full marks.

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%, so both automationId and organizationId are already documented in the schema, including where to source them. The description adds no additional meaning about parameter format or the multi-organization condition, so the 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 gives a specific verb and resource ('One automation in full') and enumerates the payload's composition: trigger, conditions, template, targets, metadata, rate limits, and counters. It doesn't name a sibling such as list_automations as the alternative for enumerating many automations, so differentiation is left implicit rather than stated.

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 agent must infer that this fetches a single automation by ID after a list call. The reconnection prerequisite is genuinely useful operational guidance, but there is no explicit when-to-use versus list_automations or get_automation_runs guidance.

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