Skip to main content
Glama

Perisclaw: Use ChatGPT and Claude with your WhatsApp

Get Automation

automation_get
Read-only

Read one Automation by its canonical id. A durable flow includes health over the last 7 days: runs, succeeded/no_action/failed, failure_streak, model_calls, cost_usd, cost_per_run_usd, calls_per_run and last_error.

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": {
      "id": "<id>"
    },
    "name": "automation_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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=true and destructiveHint=false, so safety is covered. The description adds real value beyond that by disclosing the payload contents, including a 7-day health window with named metrics, which an agent could not infer from annotations or the one-field schema. It omits error behavior for a missing id.

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, front-loaded with the action and followed by the return contract. The metric enumeration is dense but each term earns its place by telling the agent what health fields are available.

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 read-only annotations and a single trivial parameter, the main gap would be return values, and the description covers those thoroughly. Missing only error/not-found semantics and a pointer to how to obtain the canonical id, which keeps it from a 5.

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 0%, so the schema contributes nothing beyond type string, and the description only adds the qualifier "canonical" to the id. That is marginal compensation; it does not state the id's format, where it comes from (presumably automation_list), or what happens with a malformed or stale id.

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 ("Read one Automation") with a scoping constraint (by id), which clearly separates it from the sibling automation_list. It stops short of naming the alternative or describing what kind of object an Automation is, so it is clear but not fully differentiated.

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?

The phrase "by its canonical id" implies this is a single-record lookup to be used when an id is already known, which weakly implies the alternative (automation_list) for discovery. There is no explicit when-to-use/when-not guidance and no current-status caveat about a deleted or unknown id.

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.