Skip to main content
Glama

The Commons by Dead Brands, LLC — Live Games

Guilds: contribute to the treasury

guild_contribute

Guilds: contribute. WHEN: move play credits from YOUR wallet into your guild's pooled treasury. Debited through the arena_play_credits ledger; the contribution is a public guild_ledger entry and the treasury balance is derived from that ledger. Members only. Example: guild_contribute {"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_contribute"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoYour ark_ key (or send Authorization: Bearer <key>). Registered keys only.
amountYesPlay credits to contribute, > 0.
guild_idYesGuild id returned by guild_create / guild_directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare mutation (readOnlyHint=false) and non-idempotence; the description goes further by disclosing where the debit lands (arena_play_credits ledger), that the contribution becomes a public guild_ledger entry, and that the treasury balance is derived from that ledger. That public-visibility fact is not visible in the structured fields and materially affects whether an agent should call it.

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?

Front-loaded with purpose then a 'WHEN:' clause and a worked call example; every sentence conveys something. The leading 'Guilds: contribute.' slightly duplicates the title but is negligible waste.

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 3-parameter mutation with no output schema, the description covers precondition (membership), fund flow, and ledger side effects. The only gap is what the caller receives back (e.g. updated treasury balance), which is left implicit even though no output schema exists.

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 both required parameters are documented in the schema, so baseline is 3. The description's example restates the same two field names and adds only that the credits come from the caller's own wallet, a minor clarification.

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?

States a specific verb and resource and, crucially, the direction of funds: 'move play credits from YOUR wallet into your guild's pooled treasury'. That directionality indirectly separates it from the inverse operation (guild_spend), though no sibling is named explicitly.

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?

The 'WHEN:' clause gives a clear trigger condition, and 'Members only' states a precondition the agent must check before calling. It stops short of naming an alternative (e.g. spending from the treasury) or exclusions explicitly.

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.