Skip to main content
Glama

find_gaps

Read-only

Find absences for specified users in an ISO date range; page through large organizations by passing the last user ID.

Instructions

Find absences of given users in a date range (admin). Pass the last user uid from the previous page to page through large organizations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoRange end, ISO 8601
fromNoRange start, ISO 8601 (default now)
pageNo
usersYesLogins or user ids
perPageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Adds useful context beyond readOnlyHint=true by disclosing the admin permission requirement. However, the pagination advice ('pass the last user uid from the previous page') conflicts with the schema, which exposes only 'page' and 'perPage' with no uid parameter — this mismatch is potentially misleading.

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 core operation is front-loaded and the pagination tip is secondary. No filler.

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 read-only tool with 5 params and no output schema, the description covers purpose, auth, and pagination but says nothing about the shape of results (a 'gap' record) and the pagination guidance diverges from the schema. Adequate but with clear gaps.

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 60%, so the schema documents several params (to, from, users) already. The description frames users as the subject and references date range and paging, but adds no syntax or clarification for page/perPage beyond what the schema provides, so it neither compensates for the gap nor adds much value.

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 (find) and domain resource (absences/gaps of given users) with scope (date range, admin). An agent can distinguish it from create_gaps and delete_gaps without opening schemas. The term 'absences' is domain jargon but contextualized well enough.

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?

The '(admin)' marker implies this requires elevated permissions, and pagination guidance is given, but there is no explicit when-to-use/when-not-to-use framing or comparison against alternatives like find_worklog_records. Usage is implied rather than stated.

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