Skip to main content
Glama

qr_parse

Interprets decoded QR payloads to identify URLs, WiFi, vCards, phone, email, payment, or text, split query parameters, extract embedded links, and flag phishing-style risks.

Instructions

Interpret a decoded QR payload. Detects URL/WiFi/vCard/phone/email/payment/text, splits URL query parameters, extracts embedded links and flags phishing-style risks.

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": {
      "text": "<text>"
    },
    "name": "qr_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesDecoded payload text

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations the description carries the full disclosure burden, and it does meaningful work: it says the tool classifies payloads, splits query parameters, extracts embedded links, and flags phishing-style risks. It stops short of stating that the operation is pure/non-mutating and says nothing about how malformed or unrecognized payloads are handled.

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 compact sentences: what it does, then the concrete processing capabilities. The action is front-loaded and every clause carries distinct information — parameter splitting, link extraction, and risk flagging are all separate behaviors.

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?

An output schema exists, so return-value detail is unnecessary, and the single input is documented in the schema. The description covers the analytical behavior well; the only meaningful gap is error/failure behavior for unparseable text, which matters for a parser.

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 the single parameter already documents itself as 'Decoded payload text', so the description's mention of a decoded payload adds no new meaning beyond the schema. Baseline 3 applies for a one-parameter tool whose schema is fully annotated.

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 gives a specific verb and resource — 'Interpret a decoded QR payload' — and then enumerates the detectable payload types (URL/WiFi/vCard/phone/email/payment/text), all in the same family as the sibling names. The qualifier 'decoded' implicitly separates it from a sibling that turns an image into text, but no sibling is named, so the boundary is inferred 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?

Usage is only implied: the input is 'decoded payload text', which signals that decoding must happen first (likely elsewhere). There is no explicit when-to-use/when-not statement and no named alternative for the case where the agent only has a raw image or batch input.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.