Skip to main content
Glama

Reject a week of hours

reject_timesheet
Destructive

Sends back a week of hours a person submitted to the user, or reopens one the user approved: its hours open again for that person, who can change them and submit the week again. The note goes to the person with the notification. Available on every plan. Needs confirm: true; without it the result is a preview.

Input Schema

NameRequiredDescriptionDefault
noteNoUp to 500 characters, sent to the person with the notification.
confirmNotrue performs the action. Without it (or with any value other than the boolean true) nothing changes and the result is a preview of the effects.
timesheetIdYesA week handed in for approval (the user's own, or one handed to the user).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With destructiveHint=true already present in annotations, the description adds substantial behavioral context: hours are reopened for the person, they can change and resubmit, the note is delivered with the notification, and confirm:true is required or the result is only a preview. No annotation contradiction is present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose and effect, then covers note delivery, plan availability, and confirmation semantics. It is efficient overall, though the note-delivery sentence duplicates schema wording and the first sentence is somewhat dense.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive mutation tool with full schema coverage, safety annotations, and no output schema, the definition is complete enough: it explains the state change, notification side effect, plan availability, and preview behavior. Nothing critical for correct invocation is missing.

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 100%, so the schema already documents timesheetId, note, and confirm. The description restates the note delivery and confirm/preview behavior but does not add syntax or meaning beyond what the schema provides; baseline 3 is appropriate.

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 gives a specific verb and resource: it sends back a submitted week of hours or reopens an approved one. It distinguishes the action from approval implicitly by describing the opposite effect: the hours reopen for the person to change and resubmit.

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?

It provides a clear usage scenario: rejecting a week a person submitted to the user, or reopening one the user approved. It does not explicitly name alternatives such as approve_timesheet or withdraw_timesheet, so it stops short of full when-to-use versus-alternative guidance.

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