Skip to main content
Glama

Get badges

bazarr_get_badges
Read-onlyIdempotent

Retrieve Bazarr badge counts to update UI indicators and display current alert totals.

Instructions

Get badges count to update the UI

GET /api/badges

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_badges"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

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, destructiveHint=false and openWorldHint, so the safety profile is fully covered by structured data. The description adds only that it is a GET against /api/badges returning a count; it does not say what the count represents, whether it includes zero, or what the response envelope looks like.

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?

Two short lines, front-loaded with the purpose before the endpoint path. Nothing is padded, though the raw endpoint string adds little for an agent that never constructs HTTP calls itself.

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 zero-parameter, read-only count tool with no output schema, the definition is nearly sufficient: it names the resource, the intent, and the endpoint. The main residual gap is what 'badges' actually counts, which matters if the agent must interpret the number.

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 takes zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies; the description correctly implies no inputs are needed.

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

Purpose3/5

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

The description gives a specific verb and resource ('Get badges count') and states the intent ('to update the UI'), so an agent knows it retrieves a count rather than a list. However, 'badges' is an unexplained domain term, and nothing distinguishes it from the many other bazarr_get_* read endpoints beyond the fact that it takes no parameters.

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 only usage signal is the phrase 'to update the UI', which implies a polling/refresh scenario but gives no explicit when-to-use, when-not-to-use, or alternative. There is no guidance on caching, frequency, or what to do instead if a full status payload is needed.

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