Skip to main content
Glama

BlankQR

Read a code

get_code
Read-only

What a code does, its state (blank, active, off), how many times it was scanned and the day of the last scan, and the day it expires. Needs no key.

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

Input Schema

NameRequiredDescriptionDefault
codeYesThe 7 characters at the end of the code's short address, the part after the last slash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description goes beyond them by disclosing that no key is required and by enumerating the returned fields, including the enumerated state values blank/active/off, which an agent would otherwise not know without an output schema.

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 a single tight sentence with zero filler, and the substantive content (returned fields) leads. It reads as a fragment with no verb phrase, which slightly weakens front-loading of the action, but nothing is redundant.

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 carries the return-value burden and does so by listing the fields and their possible states. Authentication requirements are also stated ('Needs no key'). What remains absent is behavior on a non-existent or malformed code, which is minor for a one-parameter lookup.

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 coverage is 100% and the schema already spells out the format precisely: the 7 characters after the last slash of the short address, with a character-class pattern. The description adds no format, normalization, or lookup-failure guidance beyond that, so it neither compensates nor degrades—baseline 3 applies.

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 the resource (a code) and enumerates exactly what is retrieved about it: behavior, state, scan count, last-scan day, and expiry day, which makes clear this is a read of code metadata. It does not name a verb or explicitly distinguish itself from siblings like claim_code or set_code, leaving the read-only/read-what framing to be inferred.

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?

There is no explicit when-to-use or when-not-to-use statement and no named alternative among get_picture, claim_code, make_code, set_code, switch_code, or set_files. The only usage-adjacent hint is 'Needs no key', which tells the agent no authentication is required but does not say when this tool should be selected over its siblings.

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