Skip to main content
Glama

SetGet

get_counter_history

Read-onlyIdempotent

Read opted-in UTC history: 168 hourly, 90 daily or 24 monthly buckets; ISO start inclusive/end exclusive.

Input Schema

NameRequiredDescriptionDefault
endNo
keyYes
startNo
resolutionNohour

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description does add genuinely useful behavior beyond that: fixed bucket counts per resolution, UTC-only timestamps, and inclusive-start/exclusive-end boundary semantics. It stops short of saying what a missing or never-written counter returns.

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 dense sentence with the resource and the window limits front-loaded, and no filler. It is slightly telegraphic – "opted-in" and the parenthetical bucket counts assume prior context – but nothing is wasted.

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?

For a four-parameter read tool with a fully documented safety annotation set, the description covers the essential query semantics. The main omission is the return shape (bucket timestamps vs values), which matters more here because there is no output schema, plus the default window when start/end are null.

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 0%, so the description must carry parameter meaning. It clarifies that start/end are ISO timestamps with start inclusive and end exclusive, and the 168/90/24 bucket counts implicitly map to the resolution enum values. It says nothing about the required key parameter, the default resolution of "hour", or what null start/end mean (presumably a trailing window).

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?

"Read ... history" gives a specific verb plus resource, and the bucket/resolution detail distinguishes it from siblings like get_key or get_metadata. The qualifier "opted-in" is unexplained, so the scope is not fully self-evident, but an agent can still tell this is the time-series read tool.

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 statement of when to use this versus get_key, get_metadata, or wait_for_change, nor any precondition such as history being enabled for the key. The agent has to infer usage entirely from the name and the bucket counts.

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