Skip to main content
Glama

QRStuff MCP Server

get_qrcode_history

Read-onlyIdempotent

Fetch audit history for a QR code (created, updated, deleted, etc.).

Uses GET /api/qrcodes/{idqrcode}/history with cursor pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoFilter by audit action (e.g. qrcode_update, qrcode_create).
cursorNoCursor for next/previous page.
idqrcodeYesQR code ID.
per_pageNoItems per page (max 100).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
entriesNo
per_pageNo
next_cursorNo
prev_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds value beyond that by naming the underlying call (GET /api/qrcodes/{idqrcode}/history) and disclosing cursor-based pagination, which is genuine behavioral context not present in the annotations.

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?

Two tight sentences with the core purpose front-loaded and the transport/pagination detail following. Every clause earns its place; nothing is redundant.

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?

An output schema exists, so return values need not be explained, and annotations carry the safety profile while the schema carries all four parameters. For a read-only audit-fetch tool the definition is complete enough to invoke correctly.

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 each parameter (action, cursor, idqrcode, per_page) is already self-documented in the schema. The description only alludes to the cursor mechanism and adds no field-level meaning beyond the schema, which is the baseline-3 case.

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 specific verb and resource ('Fetch audit history for a QR code') and parenthetically enumerates the event types covered (created, updated, deleted). It is clearly distinguishable from read siblings like get_qr_code_by_id and get_qrcode_scans, though it never names those alternatives explicitly.

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 word 'audit history' implies when to reach for this over scan-analytics tools such as get_qrcode_scans or get_account_activity, but there is no explicit when-to-use/when-not statement or prerequisite (e.g. permissions) called out. Usage is inferred rather than 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