generate_qr_code
Generate a QR code (URL, text, vCard or WiFi) as a base64 PNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Content to encode | |
| size | No | Image size px, 100-1000 (default 300) | |
| product | No | QR type (default url) |
Generate a QR code (URL, text, vCard or WiFi) as a base64 PNG.
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Content to encode | |
| size | No | Image size px, 100-1000 (default 300) | |
| product | No | QR type (default url) |
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 provided, the description carries the burden of behavioral disclosure. It does reveal the key output trait (base64 PNG), but it does not mention side effects, permissions, rate limits, or input-length constraints. For a pure generation tool this is acceptable, but deeper behavioral context is missing.
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?
A single, focused sentence that leads with the action, then specifies supported types and the output format. There is no redundant wording or unnecessary detail—every segment 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 tool with only 3 simple parameters, no output schema, and low complexity, the description is largely sufficient: it states what the tool produces and how the result is returned. Minor gaps like expected data formats for vCard/WiFi remain, but the overall context is adequate.
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?
The input schema covers all 3 parameters with 100% description coverage, so the baseline is 3. The description's mention of 'URL, text, vCard or WiFi' reinforces the product enum but adds no meaning beyond the schema. The 'data' parameter remains generic (defined only as 'Content to encode'), with no format guidance for non-URL types.
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 states a specific verb ('Generate'), a clear resource ('QR code'), the supported content types (URL, text, vCard, WiFi), and the output format (base64 PNG). This clearly differentiates the tool from its siblings, which handle text analysis, URL fetching, and image processing.
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 implies usage contexts by enumerating QR content types, but it does not explicitly say when to use this tool over alternatives or mention any exclusions. An agent can infer it is for QR generation, but there is no direct routing guidance.
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 targets a different input type and operation: text analysis, URL fetching, QR generation, and image processing. There is no meaningful overlap, so an agent can confidently choose the right tool.
All tools follow the same snake_case verb_noun pattern: analyze_text, fetch_url, generate_qr_code, process_image. The naming is predictable and consistent across the server.
Four tools is a small but reasonable set for a general-purpose utility server. Each tool covers a distinct real-world use case, though the collection feels slightly minimal.
The individual tools are self-contained and have no obvious dead ends for their described operations. However, the tools are unrelated and the overall scope is unclear, so it is hard to assess whether the set is complete; common additions like PDF handling or OCR are noticeably absent.