Skip to main content
Glama

approve_timesheet_week

DestructiveIdempotent

Bulk-approve all SUBMITTED timesheet entries for a specific user in a given week. Caller must be an eligible approver. Feature: timeTracking (PRO+).

Input Schema

NameRequiredDescriptionDefault
userIdYesUser whose timesheet to approve.
weekStartYesMonday date (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the write/destructive/idempotent profile, so the bar is lower. The description adds real value beyond them: it limits effects to SUBMITTED entries, requires approver eligibility, and flags the PRO+ feature gate. It stops short of explaining what happens to non-submitted entries or whether approval is reversible.

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, front-loaded sentences carry the scope, the eligibility requirement, and the feature gate with no filler.

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 mutation tool with no output schema, the annotations plus description cover scope, precondition, and gating. It does not state the result of the call (e.g., what the bulk approval returns or whether partially-submitted weeks error), which is the only meaningful gap.

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 both parameters (userId, weekStart) are already documented in the schema. The description adds no format or constraint detail beyond what the schema provides, making the baseline 3 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?

States a specific verb (bulk-approve), resource (timesheet entries), and scope (all SUBMITTED entries for a specific user in a given week). The 'bulk/week' framing cleanly distinguishes it from the singular approve_timesheet_entry sibling.

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?

Provides a clear precondition ('Caller must be an eligible approver') and scopes the operation to SUBMITTED entries only. It does not explicitly name alternatives (e.g., approve_timesheet_entry, reject_timesheet_week), so usage context is clear but 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.