Skip to main content
Glama

What one wallet has voted on and backed

my_votes
Read-onlyIdempotent

One wallet's demand history: the packets it voted for or against are listed free and keyless, its pledges are counted, and the pledge rows need your own signature. Use this when someone asks what they voted for, whether their vote is still active, or how many pledges they have made. To read the pledge rows, call again with the wallet, the nonce and the signature (the keyless reply ends with the message to sign). Votes and pledges are free, signed acts that move no money; a pledge here is a signed statement of intent only: pledged is not funded, nothing moves and nothing is held until a real payment settles through the separate funding door (prepare_funding). Read-only, and it records nothing about the caller. Cost and signer: free; the record is keyless, the pledge rows are read with a signature by the wallet's own with no gas, 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": {
      "wallet": "<wallet>"
    },
    "name": "my_votes"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceNoOnly to read the pledge rows: the time in milliseconds from the message to sign, the same number the signature was made over.
walletYesThe 0x… address that voted or pledged. The ADDRESS only, never a private key.
signatureNoOnly to read the pledge rows: the wallet's own signature of the message to sign the keyless reply gave. Free, no gas, used once.

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 / nonce
      Added value: +{
      +  "description": "Only to read the pledge rows: the time in milliseconds from the message to sign, the same number the signature was made over.",
      +  "type": "number"
      +}
    • addedInput schema / properties / signature
      Added value: +{
      +  "description": "Only to read the pledge rows: the wallet's own signature of the message to sign the keyless reply gave. Free, no gas, used once.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / claimable
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / notClaimableReason
      Added value: +{
      +  "type": "string"
      +}
  3. 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"
      +}
  4. Added

TDQS

A4/5.0
Behavior4/5

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

With readOnly/destructive/idempotent hints already supplied, the description still adds real context: the keyless call is free and signature-free, pledge rows require a wallet signature, the signature is 'used once', no gas is spent, and the house 'never holds a key'. It also disambiguates pledge semantics ('pledged is not funded'), which no annotation covers. Slightly verbose but substantive.

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 is front-loaded, but the text repeats itself: 'free and keyless' opens the description, then 'Votes and pledges are free', then 'Cost and signer: free' in the last sentence. The clause 'read with a signature by the wallet's own with no gas' is grammatically broken and slows parsing. Tightening by roughly a third would lose no information.

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?

Return values are covered by an output schema, so the description's burden is the call flow and semantics, and it delivers both: what the keyless call yields, how to escalate to signed pledge rows, and that nothing moves or is held. An agent has everything needed to call it correctly and interpret the result.

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 the two-call flow that the schema alone does not convey: the keyless reply 'ends with the message to sign', and nonce/signature are only needed on the second call. It stops short of restating the nonce's millisecond origin, but the schema already does that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource set: packets a wallet 'voted for or against' plus its 'pledges', and the opening phrase 'One wallet's demand history' scopes it. That is enough for an agent to distinguish it from my_ledger/my_money/my_hours by content, though it never explicitly contrasts itself with those siblings by name.

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?

It gives concrete triggers: 'Use this when someone asks what they voted for, whether their vote is still active, or how many pledges they have made.' It also routes funding intent elsewhere by naming prepare_funding as 'the separate funding door'. There is no explicit when-not-to-use case, so it falls short of a 5.

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