Skip to main content
Glama

Prepare one visit of an upkeep (step 1 of 2)

prepare_upkeep_visit
Read-onlyIdempotent

Prepare ONE visit of an upkeep you want done again and again at your own place, such as a weekly clean of your building. You pass your wallet, the upkeep's title, what needs doing, where, your own price, how many days apart the visits are (cadenceDays) and the day this visit is due (dueDate). The tool reads the jobs your wallet already posted. It allows one open visit of the same title at a time, and it says your wallet's day limit for free signed posts, with the time it opens again, before anything is signed. It writes the visit's paragraph and gives the visit its own key from the due date, so each visit is its own job. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with your wallet's personal_sign, then call submit_post_work within 5 minutes. Nothing is scheduled: nothing posts a visit for you, so ask again when the next one is due. Nothing is paid by this tool. You are the poster of each visit: you set its price and you decide whether the work was done. Vealth is not a party to the job: it does not schedule your visits, it does not promise that a worker will come, and it does not decide the proof. 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": {
      "creatorWallet": "<creatorWallet>",
      "title": "<title>",
      "description": "<description>",
      "location": "<location>",
      "proposedPayUsd": "<proposedPayUsd>",
      "cadenceDays": "<cadenceDays>",
      "dueDate": "<dueDate>"
    },
    "name": "prepare_upkeep_visit"
  }
}

Input Schema

NameRequiredDescriptionDefault
flagsNoOptional authority flags, the two the claim gate reads and no others: permit-required when the work needs a permit, regulated when it needs a licensed trade (licensed electrician, plumber or contractor, asbestos or lead abatement). The board records the need and keeps such work closed to claims while regulated claims are closed; never leave a flag off to make work claimable.
titleYesShort honest title, e.g. 'Monthly care and growth check, planted neem tree'.
dueDateYesThe day this visit is due, as a calendar date YYYY-MM-DD. It becomes the visit's key, so posting the same dueDate again returns the same job. That holds only while the first one is still live.
locationYesWhere the work is: address or place name. Include GPS as 'lat,lng' in the text if you have it, because geolocated proof is checked against the packet's place.
standardNoOptional. The documented standard this work serves (a snake_case id such as 'tree_planting_establishment'); when a refusal lists suggestedStandards, pass one of them here. Omit it and the board lands the title on a documented standard itself when the title is that work's name.
workTypeNo0 = water, 1 = soil/land/planting, 2 = building/structure. Trees are 1.
proofRuleNoWhat proof completes the work, e.g. 'GPS pin + photo of the tree next to a measuring stick + watering confirmation'.
skillLevelNoOptional. Who can do this work: entry (a newcomer, safely, from the text alone), intermediate or advanced. Omitted, it posts as entry and the reply says so; the board's entry-level filter reads it, so never leave skilled work at the default.
cadenceDaysYesDays between visits, a whole number from 1 to 365. It is written into this visit's paragraph as 'every N days' and stored nowhere else.
descriptionYesWhat needs doing, concretely: a stranger (or the poster themselves) should be able to do it from this text alone.
safetyNotesNoOptional. The hazards and stop-work rules a worker must read before starting, at most 600 characters. A packet with safety notes asks every claimer to affirm they are 18 or over and have read this exact text.
creatorWalletYesThe 0x… address posting this work. It signs, and it owns the posting.
expiresInDaysNoDays the packet stays open. Default is cadenceDays.
workTypeLabelNoOptional. A documented work type (snake_case) when you know the board's own name for the work.
proposedPayUsdYesProposed pay in USD. Proposed, not promised: unfunded packets settle as provable credit.
proofRequirementsNoOptional. The proof items, one line each (at most 20, 600 characters each), e.g. 'photo of the tree beside a measuring stick'.

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. Added

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already mark this as read-only, open-world, idempotent, and non-destructive, but the description adds substantial behavior: it reads existing jobs, checks the wallet's free-post day limit before signing, returns MESSAGE_TO_SIGN and BODY_JSON, and imposes a 5-minute submission window. It also clarifies that nothing is scheduled or paid, the poster remains responsible, Vealth is not a party, and the user signs with their own wallet or passkey.

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 with purpose and the signing flow, and most sentences carry useful caveats. However, it is a single dense paragraph with some repetition around scheduling and payment, and could be more scannable with tighter structure.

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 complex 16-parameter preparation tool, the description covers the purpose, required flow, constraints, cost and signing model, and next step. Because the input schema has full coverage and an output schema exists, it is complete enough for an agent to call it correctly without further explanation.

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 the schema already documents all 16 parameters thoroughly. The description highlights a subset, such as wallet, title, description, location, proposedPayUsd, cadenceDays, and dueDate, and reinforces the dueDate key behavior, but it does not add much semantic meaning beyond the already-rich schema fields.

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 opens with a specific verb and resource: preparing one visit of a recurring upkeep, explicitly framed as step 1 of 2. It defines the recurring-visit model with cadenceDays, dueDate-as-key, and each visit becoming its own job, which lets an agent distinguish it from a one-off posting tool.

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 says when to use it for work that repeats at the user's own place, states the one-open-visit-per-title constraint, and gives the required next action: sign with personal_sign and call submit_post_work within 5 minutes. It also explains that nothing is scheduled, so the user must ask again when the next visit is due.

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