Skip to main content
Glama

Urban Game Theory — Consensus Builder

Read agreement support

ugt_support_status
Read-onlyIdempotent

Read on-chain donation escrow and soft-pledge totals for an agreement account (GET /agent/pledges/:account).

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": {
      "agreementAccount": "<agreementAccount>"
    },
    "name": "ugt_support_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
agreementAccountYesChain account of a minted (binding owners') agreement: the PDA ["agreement", sponsor, sha256(cid)] under the agreement program (ugt_get_agreement answers it)

Output Schema

NameRequiredDescriptionDefault
cidNo
urlNo
codeNo
nextNo
fieldNo
itemsNo
stageNo
totalNo
issuesNo
offsetNo
statusNo
valuesNo
indexedNo
messageNo
draftRefNo
warningsNo
retryableNo
truncatedNo
untrustedNo
currentCidNo
previewUrlNo
retryAfterNo
approvalUrlNo
constraintsNo
expectedCidNo
previousCidNo
publicationNo
previewStatusNo
publishedCidsNo
parcelSourceIdNo
previewExpiresAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedOutput schema / properties / pinnedCids
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / publishedCids
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "approvalUrl": {
      +      "anyOf": [
      +        {
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "cid": {
      +      "type": "string"
      +    },
      +    "code": {
      +      "type": "string"
      +    },
      +    "constraints": {},
      +    "currentCid": {
      +      "type": "string"
      +    },
      +    "draftRef": {
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "expectedCid": {
      +      "type": "string"
      +    },
      +    "field": {
      +      "type": "string"
      +    },
      +    "indexed": {
      +      "type": "boolean"
      +    },
      +    "issues": {
      +      "items": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "items": {
      +      "items": {
      +        "additionalProperties": {},
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "next": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "offset": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "parcelSourceId": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "pinnedCids": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "previewExpiresAt": {
      +      "type": "string"
      +    },
      +    "previewStatus": {
      +      "enum": [
      +        "private-link",
      +        "private-artifact"
      +      ],
      +      "type": "string"
      +    },
      +    "previewUrl": {
      +      "anyOf": [
      +        {
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "previousCid": {
      +      "type": "string"
      +    },
      +    "publication": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "private",
      +            "published"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "additionalProperties": {},
      +          "propertyNames": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "retryAfter": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "retryable": {
      +      "type": "boolean"
      +    },
      +    "stage": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "total": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "truncated": {
      +      "type": "boolean"
      +    },
      +    "untrusted": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "url": {
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "values": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "path": {
      +            "type": "string"
      +          },
      +          "untrustedValue": {}
      +        },
      +        "required": [
      +          "path",
      +          "untrustedValue"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "warnings": {
      +      "items": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "additionalProperties": {},
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds only that the data is fetched live on-chain via a GET endpoint, which slightly reinforces openWorld but gives no detail on freshness, pagination, or error cases.

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

Conciseness5/5

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

One front-loaded sentence plus an endpoint reference; there is no filler and the resource and scope appear immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be described, and the lone parameter is well covered by the schema. The remaining gap is disambiguation among 46 siblings that also read agreement state, which the description does not address.

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% and the single required parameter is fully documented, including the PDA derivation and a pointer to ugt_get_agreement. The description's endpoint notation ('/agent/pledges/:account') corroborates the role of the parameter, so baseline is met and slightly exceeded.

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 states a specific verb and resource: reading on-chain donation escrow and soft-pledge totals for an agreement account, plus the underlying endpoint. It is distinguishable from ugt_get_agreement (which returns the account itself) though it doesn't explicitly contrast with inspect_agreement or voting_status.

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

Usage Guidelines3/5

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

Usage is only implied: the agent can infer it should call this when it needs pledge/escrow figures for an already-known agreement account. There is no explicit when-to-use, no prerequisite ('account must be minted/binding'), and no named alternative for related questions.

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.