Skip to main content
Glama

Get bot stats

get_bot_stats
Read-onlyIdempotent

Returns counts for one bot: contacts, flows, messages sent and received, and completed broadcasts. Counts only; no names, messages or personal data.

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": {
      "bot_id": "<bot_id>"
    },
    "name": "get_bot_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
bot_idYesA bot_id from list_bots.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare a read-only, idempotent, closed-world, non-destructive call. The description earns credit for going beyond them with a payload guarantee: "Counts only; no names, messages or personal data," which tells the agent this is safe to surface and unsuitable for retrieving detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, return contents front-loaded and the privacy constraint placed where it is read before calling. Nothing could be removed without losing information.

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 return shape needs no prose, and annotations cover safety, so the description is complete enough to invoke correctly. The one real gap is the temporal scope of the counts (cumulative vs. recent), which remains ambiguous.

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 100% and the single bot_id parameter is documented inline with its provenance ("A bot_id from list_bots"). The description adds no parameter meaning beyond the schema, so the baseline of 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?

"Returns counts for one bot" gives a specific verb and scoped resource, and the enumeration (contacts, flows, messages sent/received, completed broadcasts) makes the payload concrete rather than vague. It never names a sibling such as list_bots or get_flow to say what this is not, so it stops short of full sibling differentiation.

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 can infer this is the per-bot aggregate view, useful when summary numbers are wanted instead of listing entities. There is no explicit when-to-use statement, no exclusion of alternatives, and no note about whether counts are all-time or windowed.

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