Skip to main content
Glama

QRPainter

get_scans

Scan counts by day, hour and country for a code (temporary salted visitor hashes are retained for recent unique counts).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code_id": "<code_id>",
      "edit_key": "<edit_key>"
    },
    "name": "get_scans"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
code_idYes
edit_keyYesReturned when the code was created.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/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. It does add real behavioral context that the schema does not: that unique counts depend on temporary salted visitor hashes retained only for recent periods, which tells the agent counts may shift retroactively. It omits that access requires the edit_key secret (a write-grade credential on what is otherwise a read), and says nothing about timezone or whether totals are cumulative.

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: the returned dimensions come first and the retention caveat is confined to a parenthetical. Nothing is wasted and nothing important is buried.

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?

Because there is no output schema, the description does well to sketch the result shape (day, hour, country buckets). What it lacks is the credential pattern: an agent reading only the description would not realize edit_key is a sensitive secret required for every call, which matters for a read tool that depends on one.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33% — just edit_key is documented. The description never mentions parameters; 'for a code' only weakly implies code_id, and it adds nothing about days (its default, allowed range, or whether it controls the day bucket span) or about why a secret key is needed to read counts.

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 names a specific resource (scans, for a code) and the exact aggregation dimensions returned: by day, hour and country. That is well beyond a restatement of the name. It does not, however, distinguish itself from the nearest sibling check_scan_score, leaving the agent to infer the boundary.

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?

There is no explicit when-to-use statement, no exclusions, and no named alternative. The agent can infer this is the analytics/reporting call, but nothing says whether check_scan_score or export should be preferred for a given reporting task.

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