Skip to main content
Glama

Prepare funding claim

prepare_funding_claim

Bereitet einen Abruf (foerder_abrufe) vor: rechnet Personalkosten aus den Lohnabrechnungen (Brutto + Arbeitgeberanteile) x Projektstunden / Standardstunden, plus Gemeinkostenpauschale, mal Foerdersatz des Projekts — fuer den Zeitraum des Abrufs. Liefert Zeilen je Mitarbeiter und Monat, Summen, Warnungen (Stunden ohne Lohnabrechnung, gekappte Monate) und die Checkliste. speichern=true traegt betrag_geplant ein, setzt status in_vorbereitung und ergaenzt fehlende Checklistenpunkte; sonst nur Vorschau.

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": {
      "abruf_id": "<abruf_id>"
    },
    "name": "prepare_funding_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
abruf_idYesfoerder_abrufe.id
speichernNoErgebnis am Abruf speichern (Vorgabe false)
pauschal_betragNonur bei kosten_methode 'pauschal': foerderfaehiger Betrag
sonstige_kostenNoweitere foerderfaehige direkte Kosten im Zeitraum (Reisen, Sachkosten), Vorgabe 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say this is a non-read-only, non-destructive write; the description goes much further, naming exactly which fields are mutated, which status value is set, that missing checklist items are added, and that nothing is persisted in preview mode. It also discloses the return payload shape (per-employee/month rows, totals, warnings about hours without payroll entries and capped months, checklist), which the annotations cannot convey.

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 dense but front-loaded sentences: the calculation comes first, then the return shape, then the write-versus-preview switch. Every clause carries information (formula, outputs, side effects) with no filler, though the persistence semantics could be split for readability.

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?

For a four-parameter mutation tool with no output schema, the definition covers purpose, formula, return contents, warnings, and the exact side effects of the write flag. An agent can call it correctly and predict the consequences without further consultation.

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 already 100%, so the baseline is 3, but the description adds real meaning beyond the schema: it explains concretely what speichern=true does (writes betrag_geplant, sets status to in_vorbereitung, fills missing checklist entries), which the schema only summarizes as 'Ergebnis am Abruf speichern'. pauschal_betrag and sonstige_kosten are not elaborated in prose, but the schema already defines them.

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 and resource (prepare a 'Abruf'/funding claim in foerder_abrufe) and even spells out the cost formula (payroll gross + employer contributions, prorated by hours, plus overhead, times the funding rate). It never names a sibling such as freeze_funding_claim, so the routing between 'prepare' and 'finalize' is left to inference rather than stated.

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 clearly separates the two operating modes: speichern=true commits results to the claim, otherwise it is a pure preview, which tells an agent which mode to pick. It gives no guidance on prerequisites (e.g. whether payroll data must already be imported) or on what to call afterwards to finalize the claim.

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