Skip to main content
Glama

BlankQR

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as BlankQR. If you published it, claim ownership there.

Switch a code off or on

switch_code
DestructiveIdempotent

With the key: a switched-off code shows a notice and nothing else until it is switched back on. A blank code can be switched off too: a scan then cannot set it up.

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": {
      "code": "<code>",
      "token": "<token>",
      "on": "<on>"
    },
    "name": "switch_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
onYestrue: on. false: off.
codeYesThe 7 characters at the end of the short address.
tokenYesThe key of the code, from the answer that made it. With an account key, "" for a code of that account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true. The description adds useful behavioral context: a switched-off code shows a notice and nothing else until re-enabled, and a scan cannot set up a blank code after it is switched off. It does not cover permissions or response behavior, but the added state-transition effects are meaningful.

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 description is short, but it begins with a cryptic fragment ('With the key:') rather than a front-loaded statement of what the tool does. The two sentences contain relevant behavior, yet the structure is not clear enough for an agent scanning for purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The annotations cover the safety profile and there is no output schema, so the description does not need to explain return values. However, for a mutable state-switching tool it still lacks a direct statement of the operation and introduces tension with the code schema, leaving the definition only partially complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the parameter field descriptions already define code, token, and on. The description's mention that 'a blank code can be switched off' conflicts with the schema's required 7-character code pattern, which makes that added parameter guidance potentially misleading rather than clarifying.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title says 'Switch a code off or on', but the description never states the operation directly. It describes consequences of a switched-off code and a blank code, leaving the core purpose only implied and without differentiation from siblings such as set_code or claim_code.

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

Usage Guidelines2/5

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

The description gives a prerequisite ('With the key') and a note about blank codes, but it does not say when to use this tool instead of set_code, claim_code, or get_code. No explicit when-not guidance is provided.

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