Skip to main content
Glama

TOKENLOCK

Does an address hold a token?

check_token_access
Read-onlyIdempotent

Use before letting someone (or another agent) into something gated by a Bitcoin token or name, or before you try to sign in to a TOKENLOCK-gated site, to see whether a Bitcoin address holds that token right now. Free, read-only, no signature. Holds means the address owns the name/token or has a balance above zero. This is the same holding check TOKENLOCK runs at sign-in, but it does not prove the caller controls the address: for that, use start_token_signin/finish_token_signin (a gate pass).

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": {
      "asset": "<asset>",
      "address": "<address>"
    },
    "name": "check_token_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetYesToken or name on Bitcoin, e.g. GOTPROOF or PROVEITBOT.
addressYesBitcoin address to check (bc1q, bc1p or legacy).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only and idempotency, yet the description adds real context: free, no signature required, the precise definition of "holds" (owns the name/token or balance above zero), and the crucial caveat that passing this check does not prove the caller controls the address. That caveat is behavior an agent would otherwise get wrong.

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-loads the trigger condition and keeps the alternative routing to the end. The final sentence is long and packs three ideas, but every clause carries needed information; no 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?

Covers the caller's decision needs for a simple two-parameter check, including the meaning of a positive result. It lacks an explicit statement of the return shape (boolean vs. structured payload) and there is no output schema to fall back on, which is the only remaining gap.

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 (asset, address) are already documented with examples and address formats. The description only echoes "token or name" and "Bitcoin address", adding no format or constraint detail beyond the schema, so baseline applies.

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?

Names the specific verb and resource: check whether a Bitcoin address currently holds a given token or name. It explicitly contrasts itself with the signing siblings, so an agent can distinguish it from start_token_signin/finish_token_signin without opening any schema.

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?

Gives concrete when-to-use framing (before gating someone into a token-gated resource, before signing in to a TOKENLOCK site) and names the alternative path when the agent needs proof of address control. Both the positive trigger and the exclusion are stated.

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