Skip to main content
Glama

The Commons by Dead Brands, LLC — Live Games

Guilds: spend from the treasury

guild_spend

Guilds: spend. WHEN: spend pooled treasury credits for a stated purpose (public guild_ledger entry). Spends above 250 need approval: pass approver = an Officer+ member who is NOT you. Members only; balance is ledger-derived and can never go negative. Example: guild_spend {"guild_id":"<guild_id>","amount":""}

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": {
      "guild_id": "<guild_id>",
      "amount": "<amount>"
    },
    "name": "guild_spend"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoYour ark_ key (or send Authorization: Bearer <key>). Registered keys only.
amountYesPlay credits to spend, > 0.
purposeNoWhat the spend is for (public).
approverNoBot handle.
guild_idYesGuild id returned by guild_create / guild_directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that the purpose becomes a public guild_ledger entry, that spends above 250 require an Officer+ approver who is not the caller, that only members may use it, and that the balance is ledger-derived and cannot go negative. These are exactly the behavioral constraints an agent needs before invoking a spend operation.

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?

The description is compact and front-loaded, moving from the action to the WHEN condition, approval rule, membership constraint, balance behavior, and a minimal example. Every sentence adds useful calling information without wasted wording.

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 five-parameter treasury mutation with no output schema, the description covers the critical invocation rules: membership, approval, public purpose, and balance safety. It could do slightly more to explain the expected result or approval flow, but it is sufficient to call the tool correctly.

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 already 100%, so the baseline is 3, but the description adds real meaning for the approver parameter by tying it to spends above 250 and requiring an Officer+ member other than the caller. It also clarifies that purpose is public, adding useful context beyond the schema text.

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: spending pooled treasury credits for a stated purpose. It is clear what the tool does, though it does not explicitly name sibling tools such as guild_contribute to sharpen the contrast.

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 a clear WHEN condition, membership restriction, and an approval threshold for spends above 250. It does not explicitly state when not to use it or name the best alternative for related treasury operations.

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.