Skip to main content
Glama

Approve or reject time off

review_time_off_request
Idempotent

Approves or rejects a time off request (a request_id from list_time_off). The person sees the answer in the Timeclock.Kiwi app.

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": {
      "request_id": "<request_id>",
      "decision": "<decision>"
    },
    "name": "review_time_off_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
decisionYes
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover readOnly=false, idempotent=true, destructive=false and openWorld=false, so the safety profile is known. The description adds a genuinely new trait beyond those: the outcome is surfaced to the employee in the Timeclock.Kiwi app, which tells the agent this is a user-visible state change rather than a silent record edit. It does not mention permission requirements or what happens on a second review of the same request.

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 redundancy; the action and the ID source are front-loaded before the user-facing consequence. Nothing could be removed without losing information.

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, non-destructive review tool with rich annotations and no output schema, the description covers purpose, input provenance, and the visible effect. Edge cases (already-reviewed request, missing permissions, failure behavior) are the only meaningful 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 0%, so the description must carry parameter meaning. It usefully explains where request_id comes from (list_time_off), which the bare uuid format does not convey. The decision parameter is self-explanatory through its enum, but neither parameter's semantics are otherwise elaborated, leaving the coverage gap only partly compensated.

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?

"Approves or rejects a time off request" is a specific verb pair plus a specific resource, clearly distinct from add_time_off (creation) and list_time_off (enumeration). It stops short of a full sibling differentiation but the parenthetical pointing at list_time_off as the ID source does most of that work.

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 parenthetical "a request_id from list_time_off" establishes the prerequisite and the workflow ordering: enumerate pending requests first, then review one. There is no explicit when-not guidance (e.g., cannot re-review an already-decided request, role requirements), so it is clear context without exclusions.

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