Skip to main content
Glama

search_history_stats

Read-onlyIdempotent

Analyze local Spotify search history to reveal top queries, content type breakdown, and recency without API calls.

Instructions

Analytics over the local search-history sidecar: top queries, type breakdown, recency. Quota: local only (no API).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_nNoTop N queries to show (default 10)
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.31.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
  2. Addedv1.26.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=true and idempotentHint=true, so the operation's safety profile is covered. The description adds one genuinely new behavioral fact (local-only, no API quota consumption), which is valuable, but says nothing about result format or size bounds beyond the categories listed.

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 tight clauses with zero filler, and the core purpose is front-loaded ahead of the quota note. Slightly clipped to the point of leaving the 'sidecar' concept unexplained.

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 simple read-only stats tool with full schema coverage and no output schema, the description is adequate but thin: it never explains what the 'sidecar' is or how recency is defined, so an agent lacks full grounding on the returned data.

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 both parameters (top_n, response_format) are fully documented with defaults and enum semantics in the schema. The description adds no parameter-level detail, so baseline 3 applies.

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 ('analytics over') and resource ('the local search-history sidecar'), then enumerates the three outputs it produces: top queries, type breakdown, recency. This clearly separates it from the search siblings like history_search, though it never names that alternative directly.

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?

No when-to-use or when-not-to-use guidance is given. The 'Quota: local only (no API)' note is useful context but does not tell the agent when to pick this over history_search or following_analytics.

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