Skip to main content
Glama

QRStuff MCP Server

get_qrcode_scans

Read-onlyIdempotent

Fetch paginated scan logs for a QR code.

Uses POST /api/qrcodes/{idqrcode}/scans/ with pagination and date range. Returns one page at a time. Default date range: last 30 days to today.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number.
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.
idqrcodeYesQR code ID.
per_pageNoItems per page.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/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 genuinely new behavior: results are paginated one page at a time and the queried endpoint is POST-based, plus the default date window. It stops short of describing page-iteration or rate-limit behavior.

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?

Three short, front-loaded sentences that lead with the core action and then layer in endpoint, pagination, and default range. No filler, though the endpoint path is arguably low-value detail for an agent choosing a tool.

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?

With no output schema, the description carries some burden for describing what comes back, but it says only 'one page at a time' and never lists returned fields or how to advance pages. Safety behavior and parameters are adequately covered by annotations and a 100%-documented schema, so the remaining gap is moderate rather than severe.

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%, with start_date/end_date/page/per_page all documented in the schema itself, so the baseline is 3. The description restates the default 30-day-to-today range that the schema already specifies, adding no format or edge-case detail beyond it.

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?

The description states a specific verb and resource ('Fetch paginated scan logs for a QR code') and scopes it to a single QR code ID, which is clearer than a generic 'get scans'. However, it never distinguishes itself from the many sibling scan tools (get_account_scans, get_project_scans, get_scans_by_date, get_total_scans), so an agent cannot route between them from the text alone.

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?

It gives useful operating context — one page at a time, default window of last 30 days to today — which implies when the tool applies. But there is no explicit when-to-use vs. when-not guidance and no mention of the sibling alternatives that cover other scan scopes (account, project, country, device).

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