Skip to main content
Glama

quality_qr_analytics

Get scan analytics for a specific QR code. Use this when the user wants to know how many times a QR code has been scanned, see daily scan trends, understand which devices are scanning, or see which countries scans come from. Returns total scans, scans by day, device breakdown (mobile/tablet/desktop), and top 5 countries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe unique identifier of the QR code to get analytics for. Obtain this from quality_qr_list or quality_qr_create responses.
daysNoNumber of days of scan history to retrieve. Default: 30. Capped by plan: Free tier = 7 days max, Pro = 30 days, Business = 365 days.

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It transparently discloses the return payload: 'total scans, scans by day, device breakdown (mobile/tablet/desktop), and top 5 countries.' It also implies read-only behavior by context. It does not mention any side effects or error conditions, but for a read-only analytics query, this is adequate.

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

Conciseness5/5

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

The description is three concise sentences: purpose, usage trigger, and return summary. It is front-loaded with the main verb and resource, and every sentence adds value without fluff or redundancy.

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 simple query tool with two parameters and no output schema, the description provides complete context: what it does, when to use it, and what it returns. The schema covers parameter semantics, and the tool has no complex edge cases or side effects requiring further elaboration.

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%, so the baseline is 3. The description adds minimal meaning beyond the schema: it implies days from 'daily scan trends', but the schema already fully describes id and days parameters. There is no additional context like parameter relationships or format details.

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?

The description clearly states it retrieves scan analytics for a specific QR code, with a specific verb ('Get') and resource ('scan analytics'). It distinguishes itself from siblings like quality_qr_get or quality_qr_list by detailing specific analytics metrics (total scans, daily trends, devices, countries), making the purpose unmistakable.

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

Usage Guidelines4/5

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

The description explicitly states when to use the tool: 'when the user wants to know how many times a QR code has been scanned, see daily scan trends...' This provides clear context. However, it does not explicitly mention when not to use it or name alternative tools for non-analytics queries, so it misses the full when/when-not/alternatives criterion.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct action: create, read (list/get), update, delete, and analytics. There is no overlap or ambiguity between the tools.

Naming Consistency5/5

All tools follow the consistent pattern `quality_qr_<verb>`, using lowercase snake_case. The only non-verb is 'analytics', but it still fits the naming convention and is immediately understandable.

Tool Count5/5

Six tools is well within the ideal range for a QR code management service. Each tool covers a necessary operation without redundancy or bloat.

Completeness5/5

The set provides full CRUD coverage (create, list, get, update, delete) plus analytics, which is a natural extension for tracking QR codes. No significant gaps exist for the service's purpose.