Skip to main content
Glama

SalesHookAI

My absences and leave left

fetchMyAbsences
Read-onlyIdempotent

The current user's own leave days left this year and their recent and upcoming absences (sick, leave, other) with status pending/approved/rejected. Use for "wie viel Urlaub habe ich noch", "ist mein Urlaub genehmigt", "how many days off do I have left".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fetchMyAbsences"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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 already establish read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds meaningful context beyond them: the data is self-scoped (no parameter to read other people), bounded to the current year plus recent/upcoming absences, and includes status values (pending/approved/rejected) — effectively describing the return shape despite no output schema.

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?

The core payload is front-loaded in a single dense sentence listing both data groups and the status enum. The trailing example queries are verbose but earn their place as retrieval cues; nothing here is filler, though the phrasing could be tightened.

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 parameterless read tool with annotations and no output schema, the definition covers what comes back and whose data it is. The only soft spot is that "recent and upcoming" is left vague, so the exact time window is not fully pinned down.

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?

The tool takes zero parameters, so the baseline is 4. The description usefully confirms the implicit filter ("the current user's own") rather than leaving the agent to wonder whether a user identifier should be supplied.

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 names the exact resource (leave days remaining, plus recent/upcoming absences with their statuses) and narrows scope to "the current user's own", which implicitly separates it from team- or company-level fetchers. It does not explicitly name a sibling it replaces, so it stops short of a 5.

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?

Concrete usage triggers are supplied as example user phrasings in German and English ("wie viel Urlaub habe ich noch", "how many days off do I have left"), which clearly signals when to reach for this tool. There are no when-not conditions or named alternatives, but the trigger set is unambiguous.

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