Skip to main content
Glama

Rechnung ansehen

rechnung_ansehen
Read-onlyIdempotent

Zeigt eine einzelne Rechnung vollständig: Betreff, Belegkopf (Auftrags-, Kunden-, Objektnummer, Leistungstag oder -zeitraum), alle Positionen mit Menge, Einheit und Preis, Beträge, Steuer, Rabatt, Zahlungsstand mit Restbetrag bei Teilzahlungen, Mahnstufe und eine etwaige Mahnpause, ob ein festgeschriebenes Original-PDF vorliegt, bei Storno den Grund, Projekt und den zugehörigen Auftrag. Abschlags-, Schluss- und Korrekturbelege nennen ihre Belegart; die Schlussrechnung zeigt die Gesamtleistung, die abgesetzten Abschläge je Beleg, offene Abschläge und den Zahlbetrag. Damit lässt sich prüfen, WAS auf der Rechnung steht — nicht nur, wie viel.

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": {
      "rechnung_id": "<rechnung_id>"
    },
    "name": "rechnung_ansehen"
  }
}

Input Schema

NameRequiredDescriptionDefault
rechnung_idYesDie Kennung der Rechnung.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered by structured data. The description adds genuine domain context beyond that: partial payments yield a Restbetrag, dunning state includes Mahnstufe and any Mahnpause, cancellation invoices carry a reason, and the agent learns whether a locked original PDF exists — telling it that no second call is needed for those facts.

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

Conciseness4/5

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

Front-loaded with the core statement followed by a dense colon-delimited field list, then a short value sentence at the end. The length is justified because no output schema exists and the return shape must be conveyed in prose, though the closing 'WAS ... nicht nur, wie viel' sentence is rhetorical rather than informative.

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?

For a one-parameter read tool with no output schema, the description thoroughly covers what is returned, including the complex Abschlags-/Schlussrechnung case with abgesetzte and offene Abschläge. Gaps are minor: no behavior for a nonexistent or unauthorized rechnung_id, and no pointer to rechnungen_suchen for discovering IDs.

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?

There is a single required parameter with 100% schema description coverage ('Die Kennung der Rechnung'), so the schema already carries the semantics. The description never mentions rechnung_id, its format, or where to obtain it, so it adds nothing here; a 3 baseline is appropriate when the schema does the work.

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 opening clause 'Zeigt eine einzelne Rechnung vollständig' gives a precise verb (show) plus resource (a single invoice) and the word 'einzelne' implicitly separates it from the catalog's search tools such as rechnungen_suchen. The colon list then enumerates exactly which fields the view exposes (Belegkopf, Positionen, Steuer, Zahlungsstand, Mahnstufe, Storno-Grund, Belegart), so an agent knows precisely what it gets back.

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 description makes clear the tool retrieves one invoice's full detail, which suggests it is the right call when a rechnung_id is already known. There is no explicit statement of when to prefer it over rechnungen_suchen (to locate an ID) or over the PDF siblings, and no stated prerequisites or failure conditions for an unknown ID.

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