Skip to main content
Glama

List time off

list_time_off
Read-onlyIdempotent

Time off (leave) requests with their status: pending, approved or rejected. Optionally only those overlapping some dates.

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": "list_time_off"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNo
end_dateNoOnly time off that starts on or before this day
group_idNoOnly the people in this group and its sub-groups (an id from list_groups)
person_idsNoOnly these people (ids from list_people). Leave out for everyone you can see.
start_dateNoOnly time off that ends on or after this day

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the useful behavioral detail that date filters select records by overlap rather than containment, but says nothing about result volume, pagination, or ordering for a list that can span up to 500 people.

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?

Two short sentences with the resource and return fields front-loaded and no filler. The phrase 'some dates' is vague where 'the given start_date/end_date range' would have been tighter, which keeps it short of a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, zero-required list tool with no output schema, the description covers what the records are and how date filtering works. It omits the default scope when person_ids/group_id are absent (only the schema notes 'everyone you can see') and says nothing about returned fields beyond status, leaving gaps an agent may need to discover by calling.

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 80%, so the schema already documents every parameter including the overlap semantics of start_date and end_date. The description's 'overlapping some dates' reinforces that combined date behavior and restates the status enum, but adds no format or precedence detail beyond the schema, so baseline 3 applies.

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 resource precisely ('Time off (leave) requests') and the fields surfaced ('their status: pending, approved or rejected'), so an agent knows this is a read of leave records. It never uses an explicit verb like 'list' and doesn't distinguish itself from siblings such as review_time_off_request, but the noun-plus-status framing makes the intent unambiguous.

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 only implied: 'Optionally only those overlapping some dates' tells the agent filtering is available but not when to filter versus when to list everything. There is no mention of alternatives (e.g., review_time_off_request for acting on a request) or prerequisites, leaving the agent to infer context from the tool name.

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