Skip to main content
Glama

security_qr

Read-onlyIdempotent

QR code generator

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": "security_qr"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText or URL to encode, for example https://example.com.
formatNoFormat: one of json, svg.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / format / description
      Added value: +"Format: one of json, svg."
    • addedInput schema / properties / text / description
      Added value: +"Text or URL to encode, for example https://example.com."
  2. Changed2 schema fields changed
    • addedInput schema / properties / format
      Added value: +{
      +  "enum": [
      +    "json",
      +    "svg"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / text / minLength
      Added value: +1
  3. First observed

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description contributes nothing further: no note on what the output looks like, no mention that format selects JSON vs SVG rendering, no size or encoding limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two words are technically free of waste but reflect under-specification rather than conciseness. There is no front-loaded explanation of what the tool returns or how to invoke it well.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple two-parameter tool with full schema coverage and complete annotations, so the bar is low, but the description still omits any usage context or output expectation. An agent gains nothing from it that it could not read from the schema.

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 both parameters (text, format) are documented in the schema with an enum, so the schema does the heavy lifting. The description adds no meaning beyond that, which is the baseline 3 case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"QR code generator" only restates the tool name and resource; it adds no verb-level detail beyond the obvious. It gives no signal for distinguishing this from sibling encoding tools such as security_barcode_code128.

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 when-to-use guidance, no prerequisites, and no mention of alternatives. The agent must infer everything from the name and the sibling list.

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