Skip to main content
Glama
asgard-ai-platform

mcp-mayo

get_attendance_summary

Get a consolidated attendance overview for a date range, combining attendance history with abnormal events, overtime, and leave records into clear sections.

Instructions

Build a consolidated attendance picture for a date range.

Fans out to attendance_history plus optional attendance_abnormal, overtime_records, and leave_history, returning each section under a dedicated key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateYesRange end in `YYYY-MM-DD` format
start_dateYesRange start in `YYYY-MM-DD` format
include_leaveNoInclude leave applications
include_abnormalNoInclude attendance exceptions
include_overtimeNoInclude overtime records
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool 'fans out' to multiple data sources and returns sections under dedicated keys, which is valuable behavioral context. It does not mention permissions, performance, or exact output structure, but for a read-only aggregation tool, the disclosed fan-out behavior and output organization are sufficient transparency.

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?

The description is two sentences, front-loaded with the main purpose, and every sentence earns its place. It introduces the tool's function, explains the fan-out, and describes the return format, with no fluff or redundancy.

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?

The tool has no output schema, so the description should compensate by explaining return values. It states sections are returned under dedicated keys, but does not specify the exact key names or the structure/content of each section. Given the complexity of a consolidated summary, this leaves some ambiguity about the response format, though it is sufficient for basic invocation.

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%, so baseline is 3. The description adds minor value by linking the optional boolean parameters to the underlying data sections (attendance_abnormal, overtime_records, leave_history), but this largely overlaps with the existing parameter descriptions that already specify what each include flag does. No additional parameter semantics are provided.

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?

The description clearly states the tool 'Build a consolidated attendance picture for a date range', which is a specific verb+resource purpose. It also distinguishes from sibling tools by explicitly mentioning fan-out to `attendance_history`, `attendance_abnormal`, `overtime_records`, and `leave_history`, which directly differentiates it from the individual list tools.

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?

The description implies usage for a consolidated attendance view across multiple data sources, which is clear context. It mentions the optional inclusion of abnormal, overtime, and leave sections, but does not explicitly state when to use this instead of calling the individual `get_attendance_*` tools. No exclusion or alternative guidance is given, but the aggregation purpose is evident.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/asgard-ai-platform/mcp-mayo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server