Skip to main content
Glama

Read counter history

get_counter_history
Read-onlyIdempotent

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

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": {
      "key": "<key>"
    },
    "name": "get_counter_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
keyYes
startNo
resolutionNohour

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 closed-world, so the safety profile is covered; the description adds genuinely new behavior: UTC-only timestamps, per-resolution retention ceilings, and half-open interval semantics. It does not say what is returned when the range is empty or when start/end are null.

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 no filler; the retention figures and boundary semantics are front-loaded where an agent will read them. Minor cost: "opted-in" is unexplained jargon that costs a clause without adding actionable meaning.

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?

For a 4-parameter read tool with no output schema, the description leaves the return shape (bucket timestamps and values) and the null-start/null-end default behavior unaddressed. Retention and interval semantics are strong, but an agent still cannot predict the response structure from this text alone.

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

Parameters4/5

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

Schema coverage is 0%, so the description carries the burden and largely does: it maps hour/day/month to concrete bucket limits (168/90/24) and defines start as ISO-inclusive and end as ISO-exclusive, which the schema does not express. The `key` pattern and the null defaults for start/end are left to the schema with no explanation of the default 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?

States a specific verb ("Read") and resource (counter history) and immediately quantifies retention per resolution, which distinguishes it from mutation siblings like increment_counter/decrement_counter. It never literally says "counter" in the body, relying on the title for the resource noun, so it falls just short of fully self-contained.

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 bucket counts (168 hourly, 90 daily, 24 monthly) implicitly tell an agent which resolution is affordable over a given window, which is useful. There is no explicit when-to-use/when-not-to-use statement and no guidance on what happens if the requested range exceeds the retention window.

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