Skip to main content
Glama

Attendance report

get_attendance_report
Read-onlyIdempotent

Compares the published roster with the time actually worked: no-shows, late starts, early finishes, shifts worked without being rostered, and shifts that look like a missed clock out. Dates up to today.

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_attendance_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYesLast day (included), YYYY-MM-DD
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_dateYesFirst day, YYYY-MM-DD, in the company's timezone
grace_minutesNoHow many minutes late (or early leaving) before it counts. Default 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and closed-world behavior, so the description's job is to add more — and it does by disclosing that the result is a computed comparison of two datasets and that the window cannot extend past today. It stops short of describing the response shape or how findings are grouped, but that gap is minor given the annotation coverage.

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 sentences, both load-bearing: the first defines the comparison and its outputs, the second states the temporal limit. The output categories are front-loaded where an agent scanning for relevance will see them.

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 five-parameter read-only reporting tool with full schema coverage and clear annotations, the description supplies enough: what is compared, what exceptions surface, and the date ceiling. Only the absence of any hint about result volume or ordering keeps it from a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns a step up by adding a constraint the schema does not express — the date range is capped at today, so future end_dates are not usable. It says nothing about group_id, person_ids, or grace_minutes, but the schema documents those fully.

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?

Names a specific operation (compare published roster against actual worked time) and enumerates the exact exception categories produced: no-shows, late starts, early finishes, unrostered shifts, and suspected missed clock-outs. This clearly separates it from raw-data siblings like get_roster and get_timesheets without needing to name them.

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 enumeration of exception types implies the use case (find discrepancies rather than fetch raw records), and 'Dates up to today' sets a boundary. However, there is no explicit statement of when to prefer this over get_timesheets or get_roster, nor any stated prerequisites such as a published roster being required for the comparison to be meaningful.

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