Skip to main content
Glama

Upcoming birthdays

contacts_birthdays
Read-onlyIdempotent

List contacts with birthdays in the next N days and show the age they will turn when their birth year is known.

Instructions

Contacts whose birthday falls within the next N days (default 30, up to 366; today is 0), with the age they turn when the birth year is known. For one person's birthday use contacts_search. Large results come in parts (see paging and cursor).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "contacts_birthdays"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
cursorNoLeave out at first. When a result has paging.has_more, repeat the call with the same arguments plus cursor set to paging.cursor to get the next part.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds behavior beyond that: the 30-day default, the 366-day ceiling, that today counts as 0, that age is only computed when the birth year exists, and that large result sets are split into parts retrieved via cursor. Ordering of results and any rate limits remain unstated.

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?

Three short sentences with zero waste, front-loading the core definition before the sibling pointer and the paging note. Every clause carries information the agent cannot get from the schema or annotations.

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 two-parameter read tool with no output schema, the description covers defaults, limits, the conditional age field, and the paging contract, so an agent can call it correctly. It stops short of describing the actual result fields (name, date, contact id), which would matter slightly more given there is no output schema.

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 only 50%: the cursor parameter is well documented in the schema, but 'days' has no schema description. The description compensates by defining its default (30), its maximum (366), and the meaning of 0 (today), which is exactly the semantics an agent needs to set it correctly.

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?

States a specific resource (contacts with birthdays) and a precise scope (next N days), plus the derived value it returns (the age they turn when the birth year is known). It also names the sibling it is not, so an agent can distinguish it from contacts_search without opening either schema.

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?

Explicitly routes single-person lookups to contacts_search, which is the main alternative an agent would confuse this with. It lacks an explicit statement of when this tool should not be used for bulk exports or other alternatives, but the context and boundaries are clear.

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