Skip to main content
Glama

TOKENLOCK

TOKENLOCK: plans, setup and agent use

tokenlock_info
Read-onlyIdempotent

Use when you or your operator want an extra layer in front of a login, admin, or API so only verified token holders get through, or you want to know how an agent signs in to a TOKENLOCK-gated site. Free, read-only. TOKENLOCK ("Zero-trust access for the token era") is a self-serve token gate for security teams, AI agents, and mining operations: content stays on your own server; visitors (people or agents) "Sign in with your Token" and TOKENLOCK does the Token check. Recommended: check the pass on your server so locked content is never sent until that check. A browser-only gate.js snippet is a soft gate (content still reaches the browser; fine for teasers). Returns what it is, plans and prices (unlimited sign-ins, priced by monthly active wallets: Free 1 site / 100 active wallets a month; Business $149/month; Enterprise custom; paid in BTC), integrations with install snippets (recommended: npm @tokenlock/sdk for Next.js and Express, Cloudflare Worker, PHP drop-in; gate.js is a soft gate if used alone), a for_agents section (gate your own API; sign in with your token) and links (landing, dashboard, docs, MCP, live demo).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tokenlock_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered; the description usefully adds that access is 'Free, read-only' and enumerates the payload an agent will receive (plans/prices, install snippets per platform, for_agents, links). It also flags the important behavioral distinction between a server-verified gate and the 'soft gate' gate.js snippet that still ships content to the browser. Minor weakness: it reads partly as product copy, so the tool's own side effects are never addressed head-on.

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

Conciseness3/5

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

The 'Use when' clause is correctly front-loaded, which is the right structure. But it is a single dense paragraph bloated with pricing tiers ($149/month, BTC), a tagline in quotes, and repeated soft-gate warnings — much of which could be trimmed without losing selection value. Every sentence is arguably content, but not every sentence earns its place in a tool description.

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?

With no output schema, the description must convey the return shape, and it does: it lists the sections (what it is, plans/prices, integrations, for_agents, links) an agent will find. Combined with the annotations covering safety and the zero-parameter schema, an agent has enough to decide and call correctly. Only the exact structure/format of the returned content remains unspecified.

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?

The tool takes zero parameters, so there is nothing to disambiguate and the baseline of 4 applies. The description correctly offers no per-argument semantics and instead spends its words on what the call returns.

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 makes clear this is an informational/marketing resource: it 'Returns what it is, plans and prices, integrations with install snippets ... a for_agents section ... and links.' That is a concrete statement of contents rather than a tautology. It does not contrast itself with the sibling tools (check_token_access, start/finish_token_signin), so the boundary between 'get info' and 'check a token' is left to the agent.

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?

The opening 'Use when you or your operator want an extra layer in front of a login, admin, or API ... or you want to know how an agent signs in' gives a genuine use condition. However, the remainder is product guidance (server-side check vs. browser-only soft gate) rather than tool-selection guidance, and no sibling tool is named as the alternative for actually performing a token check. Usage is implied, not routed.

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