Skip to main content
Glama

Submit timesheet

submit_timesheet
DestructiveIdempotent

Submit your time entries for a given month for manager approval. Draft and Rejected entries in the month are transitioned to Submitted. A billing-closed month cannot be submitted. Supply year and month (1-12).

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": {
      "year": "<year>",
      "month": "<month>"
    },
    "name": "submit_timesheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesCalendar year of the month to submit (e.g. 2026).
monthYesCalendar month to submit (1-12).
idempotency_keyNoOptional caller-supplied key; retrying with the same key returns the original result instead of acting twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, it discloses the state transition (Draft/Rejected to Submitted) and a key precondition (billing-closed months cannot be submitted). It does not fully explain the destructive effect implied by destructiveHint=true, such as whether submitted entries become locked from editing.

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 and concise, covering purpose, transition, blocker, and required inputs in four short sentences. The final sentence partly duplicates schema details, but the overall structure remains efficient.

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 monthly submission mutation with annotations and no output schema, the description covers the key purpose, workflow transition, and blocking condition. It would be stronger if it clarified post-submission behavior or the practical consequence of the destructive annotation.

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 year, month, and idempotency_key. The description mentions year and month but adds no format or semantic detail beyond the schema, making the baseline score of 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?

The description states a specific verb and resource: submit time entries for a given month for manager approval. It also specifies the exact transition from Draft/Rejected to Submitted, which distinguishes it from approval, rejection, or recall operations.

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 gives clear usage context: the entries must be in Draft or Rejected status and the month must not be billing-closed. The main gap is that it does not explicitly name alternatives such as approve_timesheet, reject_timesheet, or recall_timesheet.

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