Skip to main content
Glama

Get automation usage

get_automation_usage
Read-onlyIdempotent

How many times each chatbot flow ran in the period, and which are active. Shows whether the automations are actually doing work.

Input Schema

NameRequiredDescriptionDefault
daysNoWindow in days (default 30). Up to 365 days of history are available.
workspaceIdNoWorkspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds that results are period-scoped per-flow counts with an active flag, but says nothing about aggregation granularity, ordering, or whether zero-run flows are included.

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 short sentences with the metric front-loaded and no redundancy. The closing line "Shows whether the automations are actually doing work" is motivational rather than operational, keeping it just short of a 5.

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?

For a two-optional-parameter reporting tool with annotations covering safety, the description adequately conveys what is returned (per-flow run counts, active status). With no output schema, a bit more on result shape would help, but nothing critical is missing.

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 days and workspaceId are fully documented in the schema itself. The description's "in the period" merely echoes the days parameter and adds no new syntax or constraint 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?

States a specific verb+resource+metric: run counts per chatbot flow plus which are active. That distinguishes it from sibling reads like get_automation (definition) and list_automations (inventory), though it never names those alternatives explicitly.

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?

"In the period" and "actually doing work" imply the reporting/audit use case, but there is no explicit when-to-use guidance and no routing away from get_automation, list_automations, or get_analytics. Usage is inferred rather than stated.

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