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 no token, it writes onto the record that those hours were worked. If you are the payer who offered to pay the worker directly, you pay them yourself and they record it; if no payment is recorded 14 days after you accept, the worker's accepted work banks an earned credit marked accepted and not paid by you (a record of the work, never money, and Vealth does not pay it), and a payment recorded later closes that credit as paid. 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. Once a packet names you, YOU DECIDE its proof and the house and the poster cannot approve or reject it, for 7 days after the worker hands it in: if you stay silent past that date your seat lapses for that proof (never an acceptance, never a return), the decision passes to the poster, and you can still decide until the poster does. To return the proof instead, pass decision "reject" with a reason; the worker gets the reason and may resubmit, free. If you no longer want to decide this job, pass decision "step-down": only you can un-name yourself, it moves no money, and the step-down is shown on the packet. Cost and signer: free, no gas; the person signs the result with their own wallet or passkey, and the house never holds a key.

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": {
      "workId": "<workId>",
      "acceptor": "<acceptor>"
    },
    "name": "prepare_accept_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional, up to 300 characters: one plain sentence saying what you checked.
reasonNoRequired when decision is reject: one plain sentence saying what the worker must fix.
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.
decisionNoaccept (the default), reject: return the proof to the worker with your reason, or step-down: stop being this packet's acceptor.
hoursAcceptedNoThe 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

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. Changed3 schema fields changed
    • addedInput schema / properties / decision
      Added value: +{
      +  "description": "accept (the default), reject: return the proof to the worker with your reason, or step-down: stop being this packet's acceptor.",
      +  "enum": [
      +    "accept",
      +    "reject",
      +    "step-down"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / reason
      Added value: +{
      +  "description": "Required when decision is reject: one plain sentence saying what the worker must fix.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "workId",
      -  "acceptor",
      -  "hoursAccepted"
      -]New value: +[
      +  "workId",
      +  "acceptor"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations it discloses cost and key handling ('free, no gas; the person signs the result with their own wallet or passkey, and the house never holds a key'), the economic consequence (no wage released, an earned credit is banked if no payment is recorded in 14 days) and who may sign. One mild tension: the phrasing 'it writes onto the record that those hours were worked' describes the flow's effect while annotations mark this call readOnlyHint=true — the actual write occurs on submit_accept_hours, so the tool's own harmless nature is not stated outright.

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

Conciseness3/5

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

The purpose and the key constraint (the house cannot accept its own hours) are front-loaded, but the text is roughly 350 words of dense prose with heavy capitalization and repeated cost language ('FREE and KEYLESS, a signed judgment, no fee, no gas' then again 'Cost and signer: free, no gas'). Several sentences could be merged or dropped without losing guidance.

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 7-parameter signing-prep tool with an output schema, it covers the full lifecycle: what to read first, the signing round-trip, deadlines and lapse behavior, what each decision does, and who pays what. Nothing an agent needs in order to call it correctly 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 100%, so the baseline is 3, but the description adds real meaning: hoursAccepted is 'the accepted figure' you decide rather than the worker's claim, a figure above the claim needs allowAboveClaim, reject requires a reason, and step-down only un-names the signer with no money movement. That is semantics an agent would not infer from the field descriptions alone.

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 names the actor (the packet's named acceptor), the resource (a work packet's hours) and the step ('Returns MESSAGE_TO_SIGN and BODY_JSON; sign ... then call submit_accept_hours within 5 minutes'), which cleanly separates it from submit_accept_hours and get_work_packet. An agent can tell this is the prepare/sign step rather than the on-chain submission.

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?

It states the precondition (read the proof first with get_work_packet), the alternatives and when to choose them ('To return the proof instead, pass decision "reject" with a reason'; 'If you no longer want to decide this job, pass decision "step-down"'), and the time windows that govern use (5 minutes to submit, 7 days before the seat lapses to the poster). Exclusions are explicit: a house wallet is refused, and so is the packet's own worker.

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