Skip to main content
Glama

Get history stats

bazarr_get_history_stats
Read-onlyIdempotent

Retrieve Bazarr subtitle history statistics filtered by language, provider, timeframe, or action type to analyze subtitle activity.

Instructions

Get history statistics

GET /api/history/stats

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bazarr_get_history_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoLanguage name to filter for
providerNoProvider name to filter for.
time_frameNoTimeframe to get stats for. Must be in ["week", "month", "trimester", "year"]
action_typeNoHistory action type to filter for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered structurally. Beyond that, the description adds nothing about what the statistics contain, how they are aggregated, or what happens with unfiltered calls — only a bare endpoint string.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is very short and not padded, but that brevity comes from omission rather than efficiency. The second line is a raw HTTP path that conveys little to an agent choosing a tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four optional filters, no output schema, and an aggregation-style tool, the description should at least sketch what the returned statistics represent and the effect of omitting all filters. Instead it says nothing beyond the endpoint, leaving the agent unable to predict the response.

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%, and the schema documents all four filters including the allowed time_frame values, so the schema carries the parameter burden. The description adds no extra meaning such as default behavior or how filters combine, which is acceptable at the baseline but not more.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get history statistics" essentially restates the tool name and title without adding specificity; the only extra content is the raw endpoint path. It never distinguishes aggregated stats from the sibling history-listing tools such as bazarr_get_episodes_history or bazarr_get_movies_history, so an agent must infer the difference from names alone.

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 when-to-use guidance, no mention of alternatives, and no stated prerequisites or exclusions. Nothing tells the agent why it would pick this stats endpoint over the per-item history tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools