Skip to main content
Glama

Confirm an hours update

confirm_update_hours
Destructive

Apply the weekly hours frozen by update_hours. Returns applied and consequence on success. Requires company:write and the same sign-in's unused intent, valid for ten minutes. Obtain approval for the exact consequence first.

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": {
      "intent": "<intent>"
    },
    "name": "confirm_update_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, but the description adds material context beyond them: a company:write scope requirement, a single-use intent bound to the same sign-in, a ten-minute expiry, and the returned field names. That is genuine operational detail an agent needs; only the failure/expiry behavior is left unstated.

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?

Four tight sentences with the action front-loaded, followed by return values, prerequisites and the approval gate. No filler, though 'Returns applied and consequence on success' reads as raw field names and could be phrased slightly more clearly.

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?

With no output schema, one undocumented parameter and destructive semantics, the description covers auth scope, intent lifetime, single-use behavior, return fields and the approval precondition. It is close to complete; only expiry/failure handling is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% (the single 'intent' parameter is only a 1–200 char string), but the description compensates by explaining that it is an unused intent from the same sign-in produced by update_hours and valid for ten minutes. That adds real meaning the schema does not carry.

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?

Names a specific verb ('Apply') and a specific resource ('the weekly hours frozen by update_hours'), and explicitly positions itself as the second half of a two-phase flow against the sibling update_hours. An agent can distinguish it from update_hours and confirm_update_company_profile without opening a schema.

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 description implies the correct call sequence: it consumes an intent produced by update_hours within ten minutes and requires pre-approval of the exact consequence. It stops short of explicitly saying what to do if the intent expired (e.g. call update_hours again), so there is a small residual gap.

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