Skip to main content
Glama
AIwithDiego

attendance-mcp

by AIwithDiego

Find late arrivals

find_late_arrivals
Read-onlyIdempotent

Identify staff who clocked in late within a date range or site, sorted by most minutes late. Answers 'who was late on X?' by listing individual late arrivals.

Instructions

List individual late clock-ins, worst first. Use for 'who was late on X' questions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd date, inclusive (YYYY-MM-DD). Defaults to the end of the data.
fromNoStart date, inclusive (YYYY-MM-DD). Defaults to the start of the data.
limitNo
locationNoSite name, e.g. 'Dublin'. Omit for all sites.
min_minutes_lateNoOnly include clock-ins at least this late.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds meaningful behavior beyond annotations: the individual (non-aggregated) grain and 'worst first' ordering, and implies only late entries are returned. No contradiction.

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 short sentences with zero filler. The primary behavior is front-loaded, and the usage cue is immediately actionable.

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 read-only list tool with strong annotations and a fairly complete schema, the description covers purpose and usage. It leaves 'worst first' imprecise (likely by minutes late), and does not explicitly route away from siblings, but these are minor 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 description coverage is 80% (4 of 5 parameters documented) with defaults and formats included. The description does not add parameter-specific semantics, so the baseline 3 is appropriate.

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 states a specific verb and resource ('List individual late clock-ins') and adds an ordering qualifier ('worst first'). It implies differentiation from aggregated siblings like repeat_late_arrivals via 'individual', but does not explicitly name any sibling.

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?

'Use for "who was late on X" questions' gives a clear, concrete usage context. It does not specify exclusions or alternatives, but the cue is sufficient for basic routing.

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