Skip to main content
Glama

QRStuff MCP Server

get_top_performing_location

Read-onlyIdempotent

Fetch top-performing location 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
scansNo
total_scanNo
country_codeNo
country_nameNo
percentage_of_totalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered structurally. The description adds nothing beyond that: it never says how many locations are returned, how 'top-performing' is ranked (scans? unique users? over what window?), or how results are ordered, which is the kind of context this tool actually needs.

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?

A single front-loaded sentence with no filler or redundancy. It is appropriately sized, though at one clause it carries no extra operational detail.

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?

An output schema exists, so return values need not be explained, and all five parameters are documented in the schema with conditional requirements spelled out. The tool's scope combination logic (idproject shared between project and qrcode) is covered by the schema, leaving only ranking/result-size semantics unaddressed.

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% and the schema descriptions are unusually rich, including the conditional requirement that idqrcode is needed when scope=qrcode and the date-omission rules for start_date/end_date. The description adds no parameter detail beyond the schema, so the baseline 3 is correct.

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?

Specific verb (fetch) plus resource (top-performing location analytics) with the three supported scopes named, which lets an agent distinguish it from generic scan-listing siblings like get_scans_by_date. It does not, however, differentiate itself from closely related siblings such as get_scans_by_country or get_scans_by_region, which also return geographic performance data.

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?

Enumerating the account/project/qrcode scopes implies when the tool applies, but there is no explicit guidance on when to choose this over get_scans_by_country, get_scans_by_region, or get_top_performing_date. Usage is inferable but not stated.

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