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.

Set or change what a code does

set_code
DestructiveIdempotent

With the key: sets what a scan of an existing code does, or changes it. The printed picture stays the same.

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>",
      "action": "<action>"
    },
    "name": "set_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
actionYesWhat a scan of the code does. A code can open a link, start an email, a call or a text message, or show Wi-Fi details, a contact card, a note, a place on a map or an event. Wi-Fi details, contact cards, notes, places and events are short text kept with the code (at most 2000 bytes) and shown by the page a scan opens; a link is only stored, the page it leads to is not.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the mutation profile is known. The description adds one genuinely new fact — 'The printed picture stays the same' — telling the agent the visual artifact is untouched, but it never explains what the destructive flag actually destroys (the previously configured action is replaced wholesale) or what the token grants.

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

Conciseness5/5

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

Two short sentences, front-loaded with the key precondition, and the second sentence carries a non-obvious behavioral fact rather than filler. Nothing is redundant with the title or schema.

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?

For a destructive mutation with a deeply nested 10-kind payload and no output schema, the description is thin: it does not say what the response confirms, what happens to the prior action, or whether the token must be the owner's key. The exhaustive schema compensates for the payload details, but the mutation consequences remain undisclosed.

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% and every nested field of 'action' is documented inline with per-kind semantics, so the schema does the heavy lifting. The description only reinforces that a key is required ('With the key') and adds nothing about the 'action' object's kind-specific shape beyond what the schema already says.

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 names a specific verb ('sets ... or changes') and a specific resource ('what a scan of an existing code does'), which cleanly separates it from make_code (creation) and get_code (reading). It stops short of naming any sibling explicitly, so the differentiation is implied by 'existing code' rather than stated.

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?

'With the key: sets what a scan of an existing code does, or changes it' implies the precondition (you need the code and its key) and the context (an already-made code). There is no explicit when-not guidance, no mention of what to do when you lack the key, and no pointer to make_code for new codes.

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