Skip to main content
Glama
berthelius

Frihet MCP Server

List Leave Requests

leave_list
Read-onlyIdempotent

List leave and PTO requests with filters by employee, status, or date range. Ideal for HR dashboards and balance tracking.

Instructions

List leave/PTO requests with optional filters. Filter by employee, status (pending/approved/rejected/cancelled), or period (date range). Useful for HR dashboards, calendar views, balance tracking. / Lista solicitudes de permisos con filtros opcionales (empleado, estado, periodo).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoPeriod end ISO 8601 (YYYY-MM-DD) / Fin periodo
fromNoPeriod start ISO 8601 (YYYY-MM-DD) / Inicio periodo
afterNoCursor for cursor-based pagination / Cursor
limitNoMax results (1-100) / Resultados maximos
offsetNoOffset / Desplazamiento
statusNoFilter by status / Filtrar por estado
employeeIdNoFilter by employee ID / Filtrar por empleado

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
limitYes
totalYes
offsetYes
nextCursorNo
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the description doesn't need to add behavioral safety info. It adds context about filters but no additional behavioral traits beyond what annotations provide.

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?

The description is two sentences in English plus a Spanish translation, with no wasted words. It is front-loaded with the core action and filters.

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?

Given the comprehensive annotations, full schema coverage, and existence of an output schema, the description provides sufficient context for an AI agent to understand the tool's purpose and usage.

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 coverage is 100%, so baseline 3. The description mentions filter options (employee, status, period) but does not add new semantics beyond what the schema already describes for each parameter.

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 clearly states the verb 'List' and the resource 'leave/PTO requests', and specifies optional filters. It distinguishes from sibling tools like leave_approve, leave_cancel, etc., which have different purposes.

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?

The description gives usage context ('Useful for HR dashboards, calendar views, balance tracking'), implying when to use it. It does not explicitly exclude alternatives, but the sibling tools clearly cover other actions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/berthelius/frihet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server