Skip to main content
Glama

Import funding hours

import_funding_hours

Traegt Projektstunden gesammelt ein (upsert je Projekt, Mitarbeiter, Jahr, Monat, Arbeitspaket). eintraege: [{employee_id | email, jahr, monat, stunden, arbeitspaket?, foerderfaehig?, signatur?}]. Fehlt employee_id, wird der Mitarbeiter ueber employees.email (Mandant) gesucht. signatur = Verweis auf den unterschriebenen Stundenzettel {signoff_id, version, content_hash, employee_signed_at, employee_signed_name?, supervisor_signed_at?, supervisor_signed_name?, quelle?}; ohne signatur wird ein vorhandener Verweis an der Zeile ENTFERNT (die Unterschrift gilt nur fuer die unterschriebenen Zahlen). Fuer Support-AI-ze-Zettel besser import_signed_timesheets. quelle benennt die Herkunft (z. B. 'Stundennachweis_CON_3.xlsx').

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": {
      "projekt_id": "<projekt_id>",
      "eintraege": "<eintraege>"
    },
    "name": "import_funding_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
quelleNoHerkunft der Stunden
eintraegeYesStundenzeilen
projekt_idYesfoerderprojekte.id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations it discloses real behavior: upsert-per-key semantics, the employee_id-missing fallback to employees.email within the tenant, and — importantly — that omitting signatur REMOVES an existing signature reference on the row. That last point sits in tension with destructiveHint=false, since the agent is told data will be deleted on a call the annotations mark non-destructive; not a hard contradiction, but a safety caveat the agent must read the prose to learn.

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?

Purpose is front-loaded and every clause carries information, including the entry shape and signature semantics. It is, however, a single dense block of nested parentheses and semicolons that is harder to scan than a short bulleted field list would be.

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 mutating bulk import with no output schema, the definition covers the natural key, the per-entry fields, the employee resolution fallback, and the signature side-effect. It leaves out what the call returns (counts of created vs updated rows?), how partial failures are reported, and whether the referenced projekt must already exist — the main remaining gaps for an agent invoking it correctly.

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

Parameters5/5

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

The schema is shallow where it matters: eintraege is declared only as an array of untyped objects with the description "Stundenzeilen", so the schema supplies no field names at all. The description compensates fully, enumerating every entry field (employee_id | email, jahr, monat, stunden, arbeitspaket?, foerderfaehig?, signatur?) and the entire nested signatur structure, plus what quelle means with an example value.

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?

"Traegt Projektstunden gesammelt ein (upsert je Projekt, Mitarbeiter, Jahr, Monat, Arbeitspaket)" gives a specific verb, the resource, and the exact natural key used for the upsert. It also names the sibling it is not (import_signed_timesheets), so the agent can distinguish the two import tools without opening either schema.

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 routes the agent explicitly: for signed timesheets, use import_signed_timesheets instead. That is a concrete when-to-use-this-vs-alternative statement. What is missing is any prerequisite/permission or failure guidance (e.g. whether the project must exist, what happens on partial errors), and the phrasing of the recommendation sentence is garbled enough to need a second read.

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