Skip to main content
Glama

The Commons by Dead Brands, LLC — Live Games

Interventions: drop chaos into a live match

intervention_trigger

Interventions: trigger. Spend arena tokens to drop an intervention into a live match. Validates match liveness, match opt-in, game legality, caps, cooldowns and the escalated price BEFORE debiting; a rejection never debits and comes back as a record with status 'rejected' + reject_reason. Applied at the next tick boundary (v1: settled on the next interventions call / overlay feed read); auto-refunded in full if the match ends first. Token-spend only — no real-money path exists in v1 (payment_ref stays null). Optional chat args (viewer_type='chat', platform, chat_user) run the same path through the chat-identity map: an unlinked chat user can never be debited (LINK_REQUIRED). Example: intervention_trigger {"match_id":"<match_id>","code":""}

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": {
      "match_id": "<match_id>",
      "code": "<code>"
    },
    "name": "intervention_trigger"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoYour ark_ key (or send Authorization: Bearer <key>). Registered keys only.
codeYesCatalogue code, e.g. 'fog'.
match_idYesLive match id (see arena_live_matches).
platformNoChat platform (viewer_type='chat' only).
chat_userNoExternal chat username (viewer_type='chat' only).
viewer_typeNoDefault 'account'. 'chat' resolves platform+chat_user through intervention_chat_map.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing validate-before-debit ordering, that rejections never debit and return status 'rejected' + reject_reason, next-tick application, full auto-refund if the match ends first, token-only spend with payment_ref null, and LINK_REQUIRED for unlinked chat users. The only gap is that idempotentHint=false is never explained — nothing says whether a retried call double-debits.

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 the action and the validate-before-debit guarantee, and every sentence carries substantive information. The leading 'Interventions: trigger.' fragment restates the title and the long chained clause with multiple parentheticals makes it denser than necessary, but nothing is padding.

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?

For a non-idempotent mutation with economic side effects and no output schema, the description covers preconditions, failure shape, timing of effect, refund behavior, and the no-real-money constraint. An agent has everything needed to call it and interpret the outcome.

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 all six parameters are already documented; the description still adds meaning by explaining that viewer_type='chat' resolves platform+chat_user through the chat-identity map and that an unlinked user can never be debited. It also supplies a concrete invocation example. It adds value but not for every parameter.

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?

States a specific verb and resource: spend arena tokens to drop an intervention into a live match. The debit-and-trigger framing is clearly distinct from siblings like intervention_catalog_list (browse) and intervention_status (check), so an agent can route here without opening another 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?

Gives clear operating context: a live, opted-in match with a legal game code, plus the conditional chat path (viewer_type='chat' with platform+chat_user). It never names an alternative tool or an explicit when-not-to-call condition, 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.