Skip to main content
Glama

get_agent_report

Read-only

Agent report for a period: art (taeglich|woechentlich|monatlich|jaehrlich — the last completed period) or von/bis (YYYY-MM-DD), ebene (alle|agenten|software). Returns the latest stored report for that period, or builds one on demand from the stored numbers (deterministic text, not stored unless speichern:true — admins/planners). Sections: header with data timestamp (Swiss time), notices (red fitness, handoffs >24h, new error kinds, runs >1M tokens, cache rate drop), fitness traffic light, success/failure per workflow, tasks good/bad with trend and example cases, error kinds new/recurring, frustration signals, savings vs manual work and vs classic software (estimate, with certainty), consumption (tokens input/cache read/cache write/output per model, cache hit rate, CHF per agent and per order), optimisations (proposed/implemented/measured/rejected, effect before/after, algorithm conversions with CHF saved), software level, comparison with the previous period. Every number has evidence ids in zahlen. Admins, planners and agents. Read-only.

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_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
artNoReport period; the last completed one (alternative to von/bis)
bisNoEnd of the period (ISO date)
vonNoStart of the period (ISO date)
ebeneNoReport level
neu_bauenNotrue builds the report fresh from the stored numbers
speichernNotrue stores the built report (admins/planners only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / art / description
      Added value: +"Report period; the last completed one (alternative to von/bis)"
    • addedInput schema / properties / bis / description
      Added value: +"End of the period (ISO date)"
    • addedInput schema / properties / ebene / description
      Added value: +"Report level"
    • addedInput schema / properties / neu_bauen / description
      Added value: +"true builds the report fresh from the stored numbers"
    • addedInput schema / properties / speichern / description
      Added value: +"true stores the built report (admins/planners only)"
    • addedInput schema / properties / von / description
      Added value: +"Start of the period (ISO date)"
  2. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond readOnlyHint and openWorldHint=false, the description discloses that it returns a stored report or builds one deterministically on demand, that results are not persisted unless speichern:true, that speichern is restricted to admins/planners, and that every number carries evidence ids. This is substantial behavioral context for a read-only reporting tool.

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

Conciseness3/5

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

The definition is front-loaded with purpose and period semantics, but the long semicolon-delimited inventory of report sections is dense and hard to parse. It contains little fluff, yet its structure could be clearer and the section list trimmed for tool selection.

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 and a complex report tool, the description does a good job explaining returned sections, evidence ids, storage behavior, and permissions. It still does not state defaults when no period parameter is supplied or how art and von/bis interact if both are provided.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is already 100%, so the baseline is 3. The description adds useful meaning: art means the last completed period and is an alternative to von/bis, neu_bauen builds fresh from stored numbers, and speichern is admin/planner-only.

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 states a specific verb/resource: an agent report for a period, with two period modes and a defined level. It is clear what the tool returns, but it does not explicitly differentiate itself from siblings such as get_agent_fitness or get_agent_kennzahlen.

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?

It explains how to choose between art and von/bis and notes that speichern is for admins/planners. However, it gives no explicit guidance on when to use this report instead of related sibling tools, nor does it state exclusions or invalid combinations.

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.