qr_svg
生成矢量 SVG 二维码(印刷 / 无限放大不糊),直接返回 SVG 源码文本。
SVG 是文本格式,直接内联返回:AI 可原样嵌网页/文档,无需下载往返。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要编码的文本 / URL | |
| border | No | 留白格数,默认 4 | |
| error_correction | No | 容错等级 L/M/Q/H,默认 M | M |
生成矢量 SVG 二维码(印刷 / 无限放大不糊),直接返回 SVG 源码文本。
SVG 是文本格式,直接内联返回:AI 可原样嵌网页/文档,无需下载往返。
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要编码的文本 / URL | |
| border | No | 留白格数,默认 4 | |
| error_correction | No | 容错等级 L/M/Q/H,默认 M | M |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses the key behavior of directly returning SVG source text rather than a file, which is useful. However, it does not mention potential limitations (e.g., text length, error handling) or confirm there are no side effects beyond generation. Adequate but not rich.
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?
The description is extremely concise, two short sentences. The first sentence front-loads the purpose and key benefit, the second explains the return format and why it matters. No wasted words.
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 generation tool with no output schema, the description sufficiently explains what is generated and the return format (SVG source text). It also mentions use cases (embedding in pages/documents). It does not cover error behavior or size limits, but these are less critical for a straightforward tool.
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%, so the schema already documents all parameters (text, border, error_correction) with descriptions. The tool description adds no extra parameter-level semantics beyond reaffirming the text-to-SVG concept, so it neither enhances nor detracts from the baseline.
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?
The description clearly states the tool's purpose: generating vector SVG QR codes for print or infinite scaling, and directly returning SVG source text. This distinguishes it from sibling tools like qr_generate (likely raster) and qr_logo (logo-based), and the focus on vector output is specific.
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?
The description provides contextual usage by highlighting print and infinite scaling needs, implying when this vector variant is appropriate. However, it does not explicitly mention when not to use it or name alternatives, though the sibling tool list suggests a clear family where this occupies the vector niche.
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.
Each tool has a distinct purpose: barcode generation, QR decoding, standard QR generation, branded QR, SVG QR, vCard QR, and WiFi QR. There is no functional overlap.
Tools consistently use 'qr_' or 'barcode_' prefixes, but the second part mixes verbs (generate, decode) and nouns (logo, svg, vcard, wifi). Minor inconsistency, but pattern is clear.
With 7 tools covering essential QR and barcode operations, the count is well-scoped for the toolkit's purpose. No redundancy or missing core functionality.
Covers generation (standard, logo, SVG, vCard, WiFi) and decoding for QR, plus barcode generation. Lacks barcode decoding and a generic QR with custom options, but these are minor gaps.