Skip to main content
Glama

x402-barcode

Barcode: Generate a barcode image URL from text via the tec-it renderer. Provide text plus optional format (default code128) and size; returns a PNG render URL. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
sizeNo
textNo
formatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / format / description
      Removed value: -"Format to process"
    • removedInput schema / properties / size / description
      Removed value: -"Size to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose genuinely useful traits: the backend renderer, the default format (code128), the PNG return medium, and a rate/pricing constraint ('5 free trial calls per signed wallet'). It omits supported format values, whether the returned URL is persistent, and failure behavior for invalid text.

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

Conciseness4/5

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

Three tight clauses with the purpose and input contract front-loaded, followed by return value and quota. The emoji quota line is slightly informal but conveys real cost information, and nothing is redundant.

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?

There is no output schema, and the description compensates by stating the return is a PNG render URL. For a simple three-parameter generator this is close to complete, with the remaining gap being the unenumerated format and size syntax rather than missing behavioral context.

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 0% and all three parameters are bare strings, so the description must compensate. It does add meaning for format (default code128) and flags text as the input payload, but it never enumerates accepted format values or explains the size syntax (e.g. pixel dimensions vs. a scale keyword), leaving the most error-prone parameter unspecified.

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?

States a specific verb and output ('Generate a barcode image URL from text') and names the underlying renderer (tec-it), which tells an agent exactly what the resource is. It does not, however, distinguish itself from the near-identical sibling x402-barcode-generate or from x402-qr, so the differentiation is only partial.

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?

The description implies usage ('Provide text plus optional format and size') but never states when to pick this over x402-barcode-generate, x402-qr, or x402-ean. No prerequisites, no exclusions, no alternative routing, so the agent must infer selection from the name alone.

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