Skip to main content
Glama

Get automation performance

get_automation_performance
Read-onlyIdempotent

How every comment and DM automation of a brand performed in a date range: runs, succeeded, failed, skipped, success rate, comments or conversations processed, DMs sent and read, link clicks and click rate, and estimated time saved (40 s per automated reply, 20 s per automated hide or like; DM automations 40 s per message). With automationId, one automation in depth: a time series of runs and outcomes, why runs were skipped, and for DM automations the step-by-step funnel (started, completed, failed, messages sent and read, link clicks per step). Skipped runs are conditions that did not match, not errors. Rates over fewer than 20 runs are flagged in dataQuality as too few to compare.

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": {
      "brand": "<brand>"
    },
    "name": "get_automation_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
typeNoall
brandYes
intervalNoauto
timeZoneNo
automationIdNoOne automation in depth.
includeChartsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description still contributes real behavioral context: skipped runs are non-matching conditions rather than errors, time-saved is a formula-based estimate (40 s/20 s per action), and rates under 20 runs are flagged in dataQuality as unreliable. That is meaningful disclosure beyond the annotations.

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?

The metric inventory is front-loaded in the first sentence and the deep-dive mode follows in the second, so an agent reads the primary behavior first. The sentences are long and dense, but nearly every clause adds information rather than restating the name.

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 eight parameters, no output schema and sparse schema descriptions, the description does the heavy lifting on return content, caveats and data-quality flags, which is the right emphasis. The gap is parameter-side: timeZone, includeCharts and the interval enum values are left undocumented for a moderately complex tool.

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 only 13%, so the description has to carry parameter meaning, and it does for automationId (deep-dive mode), the date range (from/to), type (comment vs DM) and interval (implied by 'time series'). It says nothing about timeZone, includeCharts, or the 'auto'/'none' interval values, leaving several of eight parameters unexplained in both schema and prose.

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?

The description names a specific verb and resource ('How every comment and DM automation of a brand performed') and enumerates the metrics returned, then splits behavior clearly into a brand-wide aggregate mode and a single-automation ('automationId') mode. An agent can tell this apart from sibling analytics tools such as get_dm_analytics or get_team_performance by the automation-centric framing.

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

Usage Guidelines4/5

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

It explicitly states the two usage modes: without automationId it reports every comment and DM automation over a date range, and with automationId it gives one automation in depth. It never names an alternative sibling tool or when to prefer one, but the mode selection is fully spelled out.

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