Skip to main content
Glama

Bot request allowance

get_bot_usage
Read-onlyIdempotent

The account's AI and bot requests this cycle: used, allowance, remaining, refused after the allowance ran out, reset date and websites that used them. Works with account tokens and connected apps, not with a site secret key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_bot_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoOptional: only these parts of the answer, as comma-separated dot paths (e.g. overview.current,series.date,series.visitors). Through a list a path applies to every item; period is always kept. An unknown top-level name fails with the list of valid ones. Leave out for the full answer.
website_idNoWebsite ID from list_websites (the data-site-id value in the tracking script).

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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that: the authentication path that will fail (site secret key) and the cycle-based, reset-date nature of the counters. Return format/pagination is not described, which keeps it from a 5.

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 with no filler: the first front-loads the returned quantities, the second carries the one hard constraint an agent must know before calling. Nothing is repeated from the title or the schema.

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 no output schema, the description compensates by enumerating the fields returned, and the auth caveat covers the main failure mode. Minor gaps remain: it does not clarify whether website_id scopes the whole answer or whether the response is always account-wide, and no pagination/rate behavior is mentioned.

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 the fields path filter and website_id are already fully documented in the schema. The description adds no additional semantics about fields or website scoping, which is the expected baseline when the schema does the heavy lifting.

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 names a concrete resource (AI and bot request allowance) and enumerates what it reports: used, allowance, remaining, refused, reset date, and websites. This clearly separates it from a settings tool like get_bot_settings. It stops short of explicitly contrasting with any sibling, so a 4 rather than a 5.

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 only usage-relevant guidance is the auth constraint: it works with account tokens and connected apps, not a site secret key. There is no statement of when to reach for this versus adjacent tools (e.g. bot settings vs bot usage) and no exclusion guidance beyond the auth path.

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