Skip to main content
Glama

Test coverage of a list of barcodes

coverage_test
Read-onlyIdempotent

Say how many of a list of barcodes (up to 1000) Barcode Report has a record for, and how often title, brand, category, description, image and the other fields are filled on the records it has, with the same split by code type and by the country the prefix was issued in. Returns counts only, no product data. Free: uses no lookups. Use it to answer "would this database cover my products?" before looking anything up. Without an API key: 100 barcodes a day per address; with a key: 10,000 a day.

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": {
      "barcodes": "<barcodes>"
    },
    "name": "coverage_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
barcodesYesThe barcodes to test: UPC, EAN, GTIN or ISBN numbers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world traits, and the description adds material context beyond them: it consumes no lookups, is free, caps at 1000 barcodes, and states tiered rate limits (100/day anonymous, 10,000/day with key). It does not describe response shape, but with no output schema and clear return semantics ('counts only', field fill rates, splits by code type and prefix country) that gap is minor.

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?

Front-loaded with the outcome in the first clause and organized as output content, then scope caveat, then cost/rate limits. The opening sentence is long and clause-heavy, but essentially every sentence carries usable information.

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

Completeness5/5

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

For a single-parameter, read-only counting tool with no output schema, the description fully specifies what is returned (counts, field-completeness splits), the input ceiling, and the cost/rate-limit model, so an agent can call it correctly without further context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and only one parameter exists, so the schema carries most of the burden; the description still adds meaning by restating the 1000-item ceiling and clarifying that the results are split by code type and by prefix country, which the schema does not convey.

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

Purpose5/5

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

States a specific verb and resource — counts how many barcodes in a list have a record and how well fields are filled — and explicitly delimits scope with 'Returns counts only, no product data', which distinguishes it from lookup/search siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use case ('would this database cover my products?') and an explicit ordering instruction ('before looking anything up'), and the 'counts only, no product data' clause tells the agent when not to use it.

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