Skip to main content
Glama

SalesHookAI

Report own absence

reportAbsence

Reports the current user's own absence: off sick (today if no date), a leave request or another absence. The owner is notified by e-mail and decides on leave requests.

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": {
      "type": "<type>"
    },
    "name": "reportAbsence"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional short note for the owner, e.g. "Arztbesuch" — no medical details needed
typeYessick, vacation or other
endDateNoLast day, YYYY-MM-DD (same as startDate if one day)
halfDayNoOnly for a single day: morning or afternoon
startDateNoFirst day, YYYY-MM-DD (today if sick and not given)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations declare this is a non-read-only, non-destructive, non-idempotent write. The description adds genuinely new behavioral context beyond that: the owner is notified by e-mail as a side effect, and the owner makes the decision on leave requests, so the agent understands it triggers a workflow rather than a silent record insert. It does not say whether the absence is provisional until approved or how the result is reported back.

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 tight sentences: the what and the scope come first, the notification/decision consequence second. The parenthetical default and the type enumeration carry real information with no filler.

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 five-parameter write tool with no output schema, the description covers purpose, default date behavior, and the approval side effect. It leaves unstated what the requester sees after submission and whether future-dated or retroactive absences are restricted, which are minor gaps rather than blockers.

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?

Schema description coverage is 100%, so type, date formats, halfDay, and the note field are already documented in structured data. The description's one added semantic — 'today if no date' for sick — duplicates the startDate schema text rather than extending it, so a baseline 3 is appropriate.

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 specific verb and resource ('Reports the current user's own absence') and enumerates the absence kinds covered (sick, leave request, other). The 'own' qualifier separates it from a listing sibling such as fetchMyAbsences without needing the schema.

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 implied by 'current user's own absence' — this is the write path for the calling user, not a query tool — and the note that the owner decides on leave requests clarifies the request/approval context. However, it never explicitly says when to use this versus checking existing absences first, and names no alternative.

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