Skip to main content
Glama

Import signed timesheets

import_signed_timesheets

Uebernimmt elektronisch unterschriebene Monats-Stundenzettel aus Support-AI-ze in ein Foerderprojekt. rows: [{month:'2026-07', person_email, per_wp:{'AP 3.2': Minuten, 'ohne AP': Minuten}, total_minutes, content_hash, version, employee_signed_at, employee_signed_name, supervisor_signed_at, supervisor_signed_name, signoff_id}] (employee_id statt person_email geht auch). Je Arbeitspaket eine Stundenzeile (Stunden = Minuten/60, 'ohne AP' = ohne Aufteilung), upsert mit Signaturverweis; der Zettel ersetzt den Monat dieser Person im Projekt (Arbeitspakete, die nicht mehr vorkommen, werden entfernt). Abgelehnt werden: Zettel ohne employee_signed_at, unbekannte E-Mail, aeltere Version als die gespeicherte. Liefert eingetragen/abgelehnt je Zettel und Hinweise (z. B. Monat liegt in einem schon eingereichten Abruf).

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>",
      "rows": "<rows>"
    },
    "name": "import_signed_timesheets"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesunterschriebene Zettel (Support-AI-ze-Format)
quelleNoHerkunft, Vorgabe 'support-ai-ze'
projekt_idYesfoerderprojekte.id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior1/5

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

The description discloses that the sheet REPLACES the person's month in the project and that work packages no longer present are 'entfernt' (removed), i.e. existing rows are deleted. That directly contradicts destructiveHint: false in the annotations, which tells an agent this is an additive operation. The rejection rules and the upsert-with-signature behaviour are otherwise valuable, but the safety-profile conflict is the kind of inconsistency that can cause a bad call.

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 purpose, then payload, semantics, rejection rules and return values in a logical order, with no filler sentences. It is a dense run-on, though, and the inline object schema would be easier to parse as separated clauses or a short breakdown.

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?

Although there is no output schema, the description states what is returned ('eingetragen/abgelehnt je Zettel' plus hints such as a month falling into an already submitted Abruf), covers side effects, unit conversion and rejection causes. Everything an agent needs to construct a valid call and anticipate the result is present.

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 only says the rows are in 'Support-AI-ze-Format', so the description carries the real burden: it spells out the row fields (month, person_email, per_wp, total_minutes, content_hash, version, employee/supervisor signed fields, signoff_id), the minutes-to-hours conversion, the meaning of 'ohne AP', and the employee_id alternative. This is substantially more than the structured schema provides.

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 first clause states a specific verb, resource, source system and destination: 'Uebernimmt elektronisch unterschriebene Monats-Stundenzettel aus Support-AI-ze in ein Foerderprojekt.' An agent can distinguish this from siblings such as import_funding_hours or create_foerder_stunde without opening any 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 gives clear operational context and even states the conditions under which a sheet is refused (no employee_signed_at, unknown e-mail, older version than stored), which effectively tells the caller when the call will succeed. What is missing is any explicit routing guidance versus a sibling import tool; no alternative is named and no 'don't use this for X' exclusion is given.

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