Skip to main content
Glama

TheQRCode.io

get_analytics

Get scan analytics for the authenticated user's QR codes. Optionally filter to a specific QR code by ID. Requires an authenticated API key (Developer plan).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qrCodeIdNoFilter analytics to a specific QR code ID. Omit for account-wide totals.
timeRangeNoTime range for analytics data. Defaults to '30d'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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 burden but does disclose meaningful behavioral context: it requires an authenticated API key and is restricted to the Developer plan. It does not describe return format, pagination, rate limits, or explicitly confirm read-only safety, so it is adequate but not thorough.

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?

Three short sentences with zero filler. The core purpose is front-loaded, followed by filtering and authentication constraints, so the most important information is presented first.

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

Completeness3/5

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

For a simple read-only analytics tool with no output schema and no annotations, the description covers purpose, optional filtering, and authentication requirements. However, it does not describe what analytics data is returned, which is a notable gap when no output schema exists.

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 description coverage is 100%, so both parameters are already well documented. The description's mention of optionally filtering by QR code ID adds no new semantic detail beyond what the schema provides, making the baseline score of 3 appropriate.

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 ('Get') and resource ('scan analytics for the authenticated user's QR codes'), which is clearly distinct from the sibling tools that generate or list QR codes. The optional filtering scope is also stated. An agent can immediately tell what the tool does.

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 purpose strongly implies when to use it (to retrieve analytics), and the description notes an authentication prerequisite. However, it does not explicitly contrast with alternatives like list_qr_codes or explain when not to use it, so usage guidance remains implied rather than explicit.

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.