qr_code
Generate a QR code for any text or URL. Returns SVG markup (or JSON with the SVG string).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Pixel size (default 256) | |
| text | Yes | Text or URL to encode | |
| format | No | Default svg |
Generate a QR code for any text or URL. Returns SVG markup (or JSON with the SVG string).
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Pixel size (default 256) | |
| text | Yes | Text or URL to encode | |
| format | No | Default svg |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden, and it does disclose the return shape ('Returns SVG markup (or JSON with the SVG string)'), which is valuable since there is no output schema. It does not address determinism, size limits, or error cases, so it stops short of full behavioral disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences with zero filler; the purpose is front-loaded and the return-format detail follows immediately. Every clause earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple 3-parameter tool with full schema coverage, the description supplies the one thing the structured fields lack: the return format. That covers the essential gaps, though error or size-limit behavior is unmentioned.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with size, text, and format all documented inline including the default for format. The description adds no parameter-level detail beyond what the schema already states, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Generate a QR code') plus the input domain ('any text or URL'), which is unambiguous against siblings like hash_text, base64, or generate_uuid. An agent can tell exactly what this produces without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 guidance, and no alternative tool is named. Usage is implied by the tool's narrow, self-evident purpose among unrelated utility siblings, which is the minimum-viable bar.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.