Skip to main content
Glama

Search Tracker employee absences

tracker_gaps_search
Read-onlyIdempotent

The absences (vacation, illness, trips, duty, …) of the given users that overlap a window.

Instructions

The absences (vacation, illness, trips, duty, …) of the given users that overlap a window.

A read done via POST; needs Tracker administrator rights. Every requested user appears, with an empty gaps list when they are not absent.

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": {
      "users": "<users>"
    },
    "name": "tracker_gaps_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoReturn everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.
nextNoGo on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit.
limitNoMax users to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS).
usersYesLogins or ids of the users to look up (up to 100).
date_toNoWindow end (ISO 8601); must be after ``date_from``.
date_fromNoWindow start (ISO 8601); defaults to now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.142.2
    • addedInput schema / properties / all
      Added value: +{
      +  "default": false,
      +  "description": "Return everything, ignoring the cap. A long listing is better taken in pieces: `limit`, then `next`.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Max users to return; omitted means the configured cap (YCLI__HTTP__MAX_ITEMS)."New value: +"Max users to return; omitted means the configured cap of a tool (YCLI__HTTP__MAX_TOOL_ITEMS)."
    • addedInput schema / properties / next
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Go on from where an earlier call stopped, with the `next` it returned: the token carries its listing; give what is required again, and nothing else but the limit."
      +}
  2. First observedv0.67.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, yet the description adds real value: the read is performed via POST (important so agents don't misread it as a mutation) and it requires administrator rights. It also commits to a result guarantee — every requested user appears, with an empty gaps list when absent — which is behavior no structured field conveys.

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 compact sentences: purpose first, then access constraints and the result guarantee. No filler, though the parenthetical list of absence types is slightly loose and pagination guidance is left entirely to the schema.

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?

Six parameters are all fully described in the schema and there is no output schema, so the description only needs purpose plus key access traits — both present. Remaining gaps (pagination/capping behavior) are already covered by schema property descriptions.

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% and every parameter (all, next, limit, users, date_from, date_to) is documented in the schema itself. The description only restates 'given users' and the window, adding no format or interaction 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?

States a specific verb+resource: absences (vacation, illness, trips, duty) of given users overlapping a time window. Clearly distinguishable from the mutation siblings tracker_gaps_create / tracker_gaps_delete, though no sibling is named explicitly.

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 context is implied — look up user absences within a window — and the description adds the prerequisite of Tracker administrator rights. It does not say when this is preferable to other tracker tools, nor any when-not conditions, leaving guidance at a minimum-viable level.

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

Deploy Server

Other Tools