Skip to main content
Glama

Make a coin key

create_coin_key

A coin key for the coins your wallet created, as the coin page's Developers dialog makes one: { key, id, webhookSecret, view }. The key (ck_live_…) and the webhook secret are shown this once: keep them. It works for set_coin_mode and award_prize and the coin API (souvenir.finance/api/v2/openapi.json), on every coin the wallet created. At most 5 live keys a wallet; revoke one with revoke_coin_key (or DELETE /api/v2/me/coinkeys/{id}, or on the coin's page). Only a coin's creator makes keys. Takes the token from sign_in, as token or as the request's Authorization: Bearer header. Refused with "Coin keys are not open yet." while the coin API's keys are not open.

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

Input Schema

NameRequiredDescriptionDefault
nameYesA name for the key, 1 to 60 characters.
tokenNoThe token sign_in gave. Not needed when the request sends it as Authorization: Bearer <token>.
webhookUrlNoOptional: an https address on a public host that gets a signed POST for each step of your coins' rounds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent write, and the description adds substantially beyond that: the key and webhook secret are shown only once, the 5-key cap, the required sign_in token acceptable as a parameter or Bearer header, the supported downstream consumers (set_coin_mode, award_prize, coin API), and the exact refusal message. That is exactly the operational context an agent needs before invoking a secret-generating mutation.

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?

It is front-loaded with the return shape and the one-time-secret warning, the highest-value facts, and every sentence carries information. It is dense and parenthetical-heavy (multiple URLs and asides in single sentences), which slightly impedes scanning but does not waste words.

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?

With no output schema, the description supplies the return shape, the one-time visibility of secrets, the auth mechanism, the quota, and the failure message; combined with 100% schema coverage there is no material gap for a 3-parameter mutation. Error and limit behavior, the usual omissions, are explicitly present.

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 name, token, and webhookUrl are already documented in structured fields; baseline is 3. The description reinforces the token's origin (sign_in) and implies the webhook secret ties to the webhookUrl, but adds no format or constraint detail the schema does not already carry.

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 resource (a coin API key for coins the wallet created) and enumerates the returned fields { key, id, webhookSecret, view }, which lets an agent distinguish it from revoke_coin_key immediately. It is phrased as a noun ("A coin key for...") rather than an explicit verb like "creates", but the mint semantics are unambiguous from the title and the one-time secret disclosure.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit eligibility ("Only a coin's creator makes keys"), a quota ("At most 5 live keys a wallet"), the alternative for removing keys ("revoke one with revoke_coin_key (or DELETE /api/v2/me/coinkeys/{id}...)"), and a precondition failure mode ("Refused with 'Coin keys are not open yet.'"). Nothing is left to inference about when this is the right tool.

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