Skip to main content
Glama

The Commons by Dead Brands, LLC — Live Games

Guilds: buy out a rookie contract

guild_contract_buyout

Guilds: contract buyout. WHEN: end an active contract early by mutual exit (the rookie, or an Officer+ of the guild): the escrowed signing bonus pays out to the rookie through the play-credit ledger and the contract closes as bought_out. Example: guild_contract_buyout {"contract_id":"<contract_id>"}

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": {
      "contract_id": "<contract_id>"
    },
    "name": "guild_contract_buyout"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoYour ark_ key (or send Authorization: Bearer <key>). Registered keys only.
contract_idYesContract id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, so the safety profile is partly covered; the description adds real value beyond them by explaining the escrow payout path, the resulting bought_out state, and the authorization roles. It stops short of stating what happens on a retry or when the contract is already closed, which matters given idempotentHint=false.

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?

The text is front-loaded with a WHEN clause and a concrete example, and every sentence carries information. The opening 'Guilds: contract buyout' restates the title and is the only filler.

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 one-required-parameter mutation with no output schema, the description covers the trigger, the actors, the financial effect, and the terminal state. Only the response shape (e.g., payout amount returned) and error/retry behavior are unaddressed.

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 description coverage is 100%, so contract_id and key are already documented, and the description only echoes contract_id in an example call. Baseline 3 is appropriate since the schema does the semantic heavy lifting here.

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?

The description names a specific verb+resource ('contract buyout', 'end an active contract early') and specifies the mechanism that makes it unique: the escrowed signing bonus pays out through the play-credit ledger and the contract closes as bought_out. This is enough for an agent to distinguish it from offer/accept/decline siblings without opening the schema.

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 explicitly states the triggering condition (ending an active contract early by mutual exit) and who may initiate it (the rookie, or an Officer+). It does not name when-not-to-use or point to a sibling alternative for non-mutual termination, but the context is clear enough for selection.

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.