Skip to main content
Glama

QRStuff MCP Server

get_top_performing_date

Read-onlyIdempotent

Fetch top-performing date analytics for account, project, or QR code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoScope: account (default), project, or qrcodeaccount
end_dateNoEnd date YYYY-MM-DD. REQUIRED when the user asks for a specific period; do not omit if they mention dates. Defaults to today only when no range given.
idqrcodeNoQR code ID. Required when scope=qrcode.
idprojectNoProject ID. Required when scope=project or qrcode.
start_dateNoStart date YYYY-MM-DD. REQUIRED when the user asks for a specific period; do not omit if they mention dates. Defaults to 30 days ago only when no range given.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
scansNo
total_scanNo
percentage_of_totalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds no behavioral context beyond that — nothing about what 'top-performing' means, how results are ranked, or how date defaults behave (that detail lives only in the schema).

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?

A single front-loaded sentence with the verb and resource first and zero filler. Nothing needs trimming and nothing relevant is padded in.

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?

Output schema exists, so return values need no explanation, and annotations plus full schema coverage carry the safety and parameter burden. However, for a tool whose main risk is confusion with sibling analytics tools, the absence of any disambiguation leaves a real gap.

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%; the schema fully documents scope, date ranges, and the idproject/idqrcode dependencies. The description adds no parameter meaning beyond what the schema already provides, so the baseline 3 applies.

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 concrete verb (Fetch) and a specific resource (top-performing date analytics) with the three supported scopes (account, project, QR code). The 'date' dimension implicitly separates it from get_top_performing_location and get_top_scanner, though it never names those siblings explicitly.

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?

Contains no when-to-use, when-not-to-use, or alternative guidance. The near-identical siblings get_top_performing_location and get_top_scanner, plus get_scans_by_date, are never referenced, so an 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