Skip to main content
Glama

Add time off

add_time_off

Adds approved time off for someone you manage, so they aren't rostered on those days.

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

Input Schema

NameRequiredDescriptionDefault
reasonNo
end_dateYesLast day (included), YYYY-MM-DD
person_idYes
start_dateYesFirst day, YYYY-MM-DD, in the company's timezone

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false), so the safety basics are covered. The description adds genuinely non-obvious context — that the leave is recorded as already approved and that it suppresses rostering on those days — but says nothing about conflicts with existing shifts, duplicate submissions, or permission failures, which matter for a non-idempotent write.

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?

A single sentence with the action, the scope constraint, and the consequence ordered sensibly. No filler, no restatement of the title, and the most decision-relevant detail (approved leave, roster suppression) is front-loaded.

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 four-parameter mutation with no output schema, the description covers purpose and effect but leaves the edge-case behavior undefined — overlapping shifts, idempotency on retry, and what the caller gets back. It is adequate to attempt the call but not complete enough to predict the outcome in messy real-world cases.

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 50%: start_date and end_date carry format descriptions, while person_id and reason do not. The description partially compensates by clarifying that person_id must be someone the caller manages, but it adds nothing about reason or about inclusive/exclusive date handling beyond what the schema already states.

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 ('Adds approved time off') plus a scoping constraint ('for someone you manage') and the downstream effect ('aren't rostered on those days'). That is enough to distinguish it from review_time_off_request and list_time_off without naming them, though no sibling is called out explicitly.

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 word 'approved' implies this records already-approved leave rather than submitting a request, which is useful implied routing away from review_time_off_request. However, there is no explicit when-to-use/when-not statement, no mention of prerequisites such as the person reporting to the caller, and no guidance on what to do if the leave is still pending.

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