Skip to main content
Glama

Accept the hours somebody worked (step 1 of 2)

prepare_accept_hours
Read-onlyIdempotent

You were named on a work packet as the person who accepts its hours: this is how you do that. FREE and KEYLESS, a signed judgment, no fee, no gas. NOBODY PAYS ANYBODY HERE: accepting hours releases no wage, records no settlement and mints nothing, it writes onto the record that those hours were worked and stops. THE HOUSE CANNOT ACCEPT ITS OWN HOURS, which is the whole reason this door exists: a house wallet is refused here, and so is the packet's own worker, because nobody grades their own exam. The signature is YOUR OWN, from the wallet the packet named, and nobody else's signature will open it. The worker states the hours; you decide the accepted figure, and a figure above their own claim needs allowAboveClaim. Read the proof first with get_work_packet. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with that wallet's personal_sign, then call submit_accept_hours within 5 minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoOptional, up to 300 characters: one plain sentence saying what you checked.
workIdYesThe packet id whose hours you are accepting.
acceptorYesYour 0x address, the one this packet named as its acceptor. Address only, never a private key.
hoursAcceptedYesThe hours you actually stand behind, greater than zero and at most 168. Not the hours claimed unless you agree with them.
allowAboveClaimNoOnly when you mean to credit MORE hours than the worker asked for. Default false, and a higher figure is refused without it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
toolNo
fundedNo
payUsdNo
workIdNo
claimIdNo
claimableNo
next_callNo
proofRuleNo
fulfillableByNo
definitionOfDoneNo
needs_from_callerNo
notClaimableReasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Discloses a rich set of behavioral facts beyond the annotations: no fee/gas, no wage release, no settlement, no minting, and the refusal of house/worker wallets. The phrase 'writes onto the record' describes the overall acceptance outcome rather than this prepare step, so it does not contradict the readOnlyHint. A small ambiguity remains, but the disclosure is strong.

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 dense and front-loads the core purpose, then uses capitalized emphasis for critical constraints. All sentences add useful information, though it is long and could be tightened; minor redundancy exists between 'no fee, no gas' and 'releases no wage... mints nothing.'

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?

Contains everything an agent needs to invoke the tool correctly: prerequisites, role restrictions, parameter conditions, signature requirements, expiry, return values, and the exact next step. The output schema also exists, but the description compensates for any missing schema detail and leaves no major gap.

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

Parameters5/5

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

Though schema coverage is 100%, the description meaningfully extends parameter meaning: hoursAccepted is 'the hours you actually stand behind... not the hours claimed unless you agree,' and allowAboveClaim is explicitly conditioned on crediting more than the worker asked for. It also ties acceptor to the specifically named wallet, adding real decision value.

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 clear action ('accept the hours somebody worked') as step 1 of a 2-step flow, explicitly names the follow-up sibling submit_accept_hours, and explains who is eligible ('named on a work packet'). This distinguishes it from other prepare_* and submit_* siblings without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use context: use it only if the packet named you as acceptor, and not if you are the house wallet or the worker. It also tells the agent what to do first ('Read the proof first with get_work_packet') and what to do next ('sign with that wallet's personal_sign, then call submit_accept_hours within 5 minutes').

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