Skip to main content
Glama

Post your own work packet (step 1 of 2)

prepare_post_work
Read-onlyIdempotent

Put work YOU define on the public board — your place, your problem, your terms. Pass the creator wallet, a title, what needs doing, where, and the proposed pay. Returns MESSAGE_TO_SIGN (proving the creator wallet is yours) and BODY_JSON. Posting is FREE when the creator wallet signs: the signature is the gate, not a fee (one wallet may post ten jobs a day this way; a post with no valid signature is refused with door_closed and takes no payment). The pay you propose stays PROPOSED until someone funds it — approved proof on an unfunded packet earns provable credit rather than cash, and the packet says which before anyone claims. Sign MESSAGE_TO_SIGN with the creator wallet's personal_sign, then call submit_post_work within 5 minutes. The board carries only work with a home in the Vealth Standard and a documented method: a post that names neither is refused before any charge, and the refusal lists the nearest documented standards; pass one back as standard. Say who can do it (skillLevel; omitted, it posts as entry), its hazards (safetyNotes), its proof items (proofRequirements) and any permit or licensed trade it needs (flags). 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>",
      "proposedPayUsd": "<proposedPayUsd>"
    },
    "name": "prepare_post_work"
  }
}

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.
titleNoShort honest title, e.g. 'Monthly care and growth check, planted neem tree'.
locationNoWhere the work is: address or place name. Include GPS as 'lat,lng' in the text if you have it — 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'.
openFieldsNoOnly with workTypeLabel digital_build_indicator_reading, the one digital desk type open to outside posters: which country (an ISO3 code the library's own reading jobs cover, such as MEX), which World Bank series (one those jobs name, such as AG.LND.FRST.ZS) and which year (inside the years those jobs span, never this year); a value off those lists is refused. The job's title, description, method, proof items and safety lines then come from the Vealth library's definition, word for word, and nothing else is yours to write; title, description and location may be left out.
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.
descriptionNoWhat 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 30.
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. Changed2 schema fields changed
    • addedInput schema / properties / openFields
      Added value: +{
      +  "description": "Only with workTypeLabel digital_build_indicator_reading, the one digital desk type open to outside posters: which country (an ISO3 code the library's own reading jobs cover, such as MEX), which World Bank series (one those jobs name, such as AG.LND.FRST.ZS) and which year (inside the years those jobs span, never this year); a value off those lists is refused. The job's title, description, method, proof items and safety lines then come from the Vealth library's definition, word for word, and nothing else is yours to write; title, description and location may be left out.",
      +  "properties": {
      +    "country": {
      +      "type": "string"
      +    },
      +    "series": {
      +      "type": "string"
      +    },
      +    "year": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "country",
      +    "series",
      +    "year"
      +  ],
      +  "type": "object"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "creatorWallet",
      -  "title",
      -  "description",
      -  "location",
      -  "proposedPayUsd"
      -]New value: +[
      +  "creatorWallet",
      +  "proposedPayUsd"
      +]
  2. Changed4 schema fields changed
    • addedInput schema / properties / flags
      Added value: +{
      +  "description": "Optional 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.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / proofRequirements
      Added value: +{
      +  "description": "Optional. The proof items, one line each (at most 20, 600 characters each), e.g. 'photo of the tree beside a measuring stick'.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / safetyNotes
      Added value: +{
      +  "description": "Optional. 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.",
      +  "type": "string"
      +}
    • addedInput schema / properties / skillLevel
      Added value: +{
      +  "description": "Optional. 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.",
      +  "enum": [
      +    "entry",
      +    "intermediate",
      +    "advanced"
      +  ],
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / standard
      Added value: +{
      +  "description": "Optional. 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.",
      +  "type": "string"
      +}
    • addedInput schema / properties / workTypeLabel
      Added value: +{
      +  "description": "Optional. A documented work type (snake_case) when you know the board's own name for the work.",
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / claimable
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / notClaimableReason
      Added value: +{
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "claimId": {
      +      "type": "string"
      +    },
      +    "definitionOfDone": {
      +      "type": [
      +        "object",
      +        "array",
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "fulfillableBy": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "funded": {
      +      "type": "boolean"
      +    },
      +    "needs_from_caller": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "next_call": {
      +      "type": "object"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "payUsd": {
      +      "type": "number"
      +    },
      +    "proofRule": {
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "workId": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  6. Added

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: the signature is the gate rather than a fee, ten posts per day per wallet, an invalid signature yields door_closed with no charge, proposed pay stays unfunded until someone funds it, and a post lacking a documented standard is refused with nearest-standard suggestions. Slight tension remains between 'Put work on the board' language and readOnlyHint=true, though the description does clarify that nothing is actually posted until submit_post_work.

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?

Dense but front-loaded, moving from what it does, to what it returns, to the follow-up call and the refusal conditions. Cost is stated twice ('Posting is FREE when the creator wallet signs' and 'Cost and signer: free, no gas'), the one clear redundancy in an otherwise efficient block.

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 15-parameter, nested-schema tool with an output schema, the description covers the workflow, the failure modes and the semantics of proposed versus funded pay. Minor mechanics (expiry defaults, workType numbering) are left to the schema, which is reasonable.

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% and the field descriptions are already rich, so the baseline is 3. The description adds a little framing (omitted skillLevel posts as entry; standard is only needed when a refusal suggests one) but most parameter meaning is already carried by the schema.

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?

Opens with a specific verb and resource ('Put work YOU define on the public board') and immediately pins the scope: it builds a packet and returns MESSAGE_TO_SIGN plus BODY_JSON, with posting deferred to submit_post_work. That explicitly separates it from the sibling submit_post_work and from the other prepare_* tools.

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?

States the exact sequence and constraint: sign MESSAGE_TO_SIGN with the creator wallet's personal_sign, then call submit_post_work within 5 minutes. It also names conditions for refusal (no standard, unregulated flags) and clarifies that posting is free with signature so the agent does not expect a fee.

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