Skip to main content
Glama

Buy your game's logs key

brij_create_game_logs_key

Over MCP: you pay only the purchase itself, into its escrow. For a game's creator: pay 0.01 USDC from the payout wallet of the game's verified Espresso Connect site (any other payer is refused before being charged). Returns api_key (brij_logs_…), shown once: store it as a secret (e.g. GAME_LOGS_KEY in the game repo's GitHub Actions). A new key replaces the old one.

Buy a game's logs key

x402, 0.01 USDC (also over MCP: a sale, never waived). Pay from the payout wallet of the game host's verified Espresso Connect site (https://docs.espressocash.com/#lookup): the payment proves the wallet, and any other payer is refused before being charged. Returns the host's logs key, shown once: store it as a secret (e.g. GAME_LOGS_KEY in the game repo's GitHub Actions) and read with POST /games/logs/read. One key per host, read-only, for every game on that host; buying a new one replaces the old.

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": {
      "game": "<game>"
    },
    "name": "brij_create_game_logs_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYesThe game's URL, or its host and folder.
x402_paymentNoOptional: the base64 x402 payment payload (the PAYMENT-SIGNATURE header value), for a client that cannot set _meta["x402/payment"].

Output Schema

NameRequiredDescriptionDefault
hostNoThe games it reads: every game on this host.
walletNoThe payout wallet that bought it.
api_keyNobrij_logs_…, shown once.
espresso_site_idNo
espresso_site_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations cover only readOnly/openWorld/idempotent/destructive flags; the description adds substantive behavior beyond them: price (0.01 USDC escrowed), the payer-authentication requirement, that a wrong payer is refused before being charged, and that the returned key is shown once and must be stored as a secret. It also discloses that a new key replaces the old one — a side effect worth noting against destructiveHint=false, though not a flat contradiction.

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

Conciseness2/5

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

The same content appears twice: an 'Over MCP:' preamble paragraph and then a 'Buy a game's logs key' paragraph restating the price, payer rule, once-shown key, and secret storage nearly verbatim. The purpose is also not front-loaded — the first sentence leads with payment mechanics rather than what the tool does.

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?

The description covers the payment model, payer restriction, returned key format and one-time visibility, replacement semantics, and how to consume the key, so an agent has enough to call it correctly. Since an output schema exists, missing detail about response shape is not a gap; what's absent is error behavior (invalid/unverified host, insufficient balance).

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 both parameters (game as URL or host+folder, and the optional x402_payment base64 payload) are already documented in structured form. The description adds no additional parameter-level semantics such as accepted URL formats or failure modes for an unknown game; baseline 3 is appropriate.

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 ('Buy a game's logs key') and the return value ('api_key (brij_logs_…)'), which is clearly distinct from a logs-reading operation. It never names the natural sibling brij_game_logs or explicitly contrasts creating a key with reading logs, so an agent must infer the boundary from the name alone.

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?

It gives the eligibility rule clearly (must pay from the payout wallet of the game's verified Espresso Connect site; other payers are refused before being charged), which is real when-to-use context. But it never says when to prefer this over brij_game_logs or brij_sandbox_logs, and points at a raw HTTP endpoint (POST /games/logs/read) rather than a sibling tool for the follow-up step.

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.

Resources