Skip to main content
Glama

get_analysepaket

Read-only

Everything the Analyse-Agent needs for the nightly analysis in one JSON: schaetzen = completed orders of the last days not yet estimated (auftrag_typ, auftrag_id, tag, agent, ablauf, kanal, ergebnis, umfang, werkzeugschritte, measured AI cost in CHF; von_hand {grund, belege} when a human did the work himself — then ergebnis is gescheitert and there is no saving), anchors (latest human reference values and corrections per workflow), implemented optimisations without a software-level estimate, the tenant's rates, the estimation rules; berichte = the reports due today (daily; weekly on Monday; monthly on the 1st; yearly on 1 January) with all numbers and evidence (zahlen), the previous period, a deterministic template text (vorlage_md, vorlage_kurzfassung) and whether one is already stored; regeln_bericht. Optional: nur_berichte (skip the estimation part — call again after record_ersparnis), arten (subset), von/bis (custom period instead), ebene (alle|agenten|software). 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_analysepaket"
  }
}

Input Schema

NameRequiredDescriptionDefault
bisNoEnd of the period (ISO date)
vonNoStart of the period (ISO date)
artenNoOnly these report periods
ebeneNoReport level
nur_berichteNotrue skips the estimation part and returns only the reports

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / arten / description
      Added value: +"Only these report periods"
    • 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 / nur_berichte / description
      Added value: +"true skips the estimation part and returns only the reports"
    • addedInput schema / properties / von / description
      Added value: +"Start of the period (ISO date)"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the 'Read-only' line is redundant. The description earns its place elsewhere: it discloses the payload's semantics, including the edge case where von_hand work makes ergebnis 'gescheitert' with no saving, and the reporting cadence (daily, weekly on Monday, monthly on the 1st, yearly on 1 January) — behaviour an agent cannot infer from the schema.

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?

It is front-loaded with the payload summary and the optional parameters come last, but the middle is a single dense run-on packed with German field names separated by semicolons and em-dashes. The information is largely load-bearing, yet a short bulleted split between the return payload and the optional parameters would make it far easier to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 large multi-section response, the description carries the full burden — and it does: it names each returned section, the fields inside schaetzen, the evidence attached to berichte, and the stored-report flag. An agent can decide whether to call it and what it will receive without opening anything else.

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 coverage is 100%, so a baseline of 3 would be defensible, but the description adds real intent beyond the field docs: nur_berichte is framed as a workflow step (call again after record_ersparnis), von/bis are framed as a substitute for the default period rather than an addition, and arten/ebene are described in terms of what they narrow. Only the enum values themselves are left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb+resource — one JSON bundle containing the estimation inputs (schaetzen), anchors, implemented optimisations, tenant rates, estimation rules and the reports due today (berichte) plus regeln_bericht. It enumerates the payload sections precisely enough to distinguish this from sibling getters like get_agent_report or get_agent_kennzahlen, and it explicitly relates itself to record_ersparnis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a concrete re-invocation rule (set nur_berichte to skip estimation, then call again after record_ersparnis) and an alternative period path (use von/bis instead), plus the audience (admins, planners, agents). What is missing is an explicit when-not statement or a named alternative for agents that only want a single agent's numbers.

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.