Skip to main content
Glama

Series count

get_series_count
Read-onlyIdempotent

Returns the number of series available per index type.

REST operation: GET /api/series/count.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedOutput schema / $defs / DetailedSeriesCount / properties / distinct / format
      Removed value: -"uint"
    • removedOutput schema / $defs / DetailedSeriesCount / properties / lazy / format
      Removed value: -"uint"
    • removedOutput schema / $defs / DetailedSeriesCount / properties / stored / format
      Removed value: -"uint"
    • removedOutput schema / $defs / DetailedSeriesCount / properties / total / format
      Removed value: -"uint"
    • removedOutput schema / $defs / SeriesCount / properties / distinct / format
      Removed value: -"uint"
    • removedOutput schema / $defs / SeriesCount / properties / lazy / format
      Removed value: -"uint"
    • removedOutput schema / $defs / SeriesCount / properties / stored / format
      Removed value: -"uint"
    • removedOutput schema / $defs / SeriesCount / properties / total / format
      Removed value: -"uint"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare that the tool is read-only, idempotent, open-world, and non-destructive. The description adds useful context about what is returned, but it does not describe authentication, rate limits, or other behavioral traits beyond 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?

The description is two short sentences and front-loads the actual behavior. There is no wasted wording, and the REST endpoint is supplementary but compact.

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 no-parameter, read-only count endpoint with annotations and an output schema, the description is mostly complete. It could better clarify how this count relates to nearby series-listing or length tools, but no critical calling information is missing.

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?

The tool has zero parameters, so there is no parameter semantics burden in the description. The empty input schema makes the baseline score 4 appropriate.

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: it returns the number of series available per index type. It is clear what the tool does, though it does not explicitly differentiate itself from nearby siblings such as list_series, search_series, or get_series_len.

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?

The description gives no guidance on when to use this tool versus alternatives. The REST operation line is implementation detail, not usage guidance, and it does not explain when a count is preferable to listing or searching series.

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.