Skip to main content
Glama

get_agent_analytics

Spending and earning analytics for this agent over a window: total spent and received, transaction count, average payment, and top L402 destinations. Read-only. REQUIRES AGENT 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_agent_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNo30d

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?

With no annotations present, the description carries the full burden and discharges it well: 'Read-only' declares the safety profile and 'REQUIRES AGENT KEY' declares the auth prerequisite. It also enumerates the returned metrics, giving the agent a clear picture of what comes back. It stops short of stating pagination or whether the window is compared to a baseline, but it is strong for an unannotated tool.

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?

Purpose is front-loaded in a single sentence, followed by two terse, high-value clauses ('Read-only.' 'REQUIRES AGENT KEY.'). No filler; every clause earns its place.

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?

Given no annotations, no output schema, and 0% schema coverage, the description does a solid job listing returned metrics and auth requirements. The main gap is the unspecified enum values and default for period, which an agent must infer from the schema.

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 0% and the single enum param (period: 24h/7d/30d/all, default 30d) is undocumented. The phrase 'over a window' links to the period concept but does not name the allowed values or the default, so it adds only marginal meaning over the schema.

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: 'Spending and earning analytics for this agent over a window' and enumerates the metrics returned (total spent/received, transaction count, average payment, top L402 destinations). This distinguishes it as an aggregation tool versus raw-transaction siblings like get_transactions, though no sibling is named 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?

The aggregate/summary framing implies it is for overview metrics rather than per-transaction listing, but there is no explicit when-to-use, when-not, or named alternative (e.g., vs get_transactions or get_budget_status). Usage is only inferable from the listed output dimensions.

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.