Skip to main content
Glama

Competitor history

competitor_history
Read-onlyIdempotent

One rival over a long window (days, a year by default): every move on its pages, counted by kind of page and by month, oldest month first. Metric history (price, plans, headcount, ratings over time) joins it once the server keeps it.

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": {
      "competitor": "<competitor>"
    },
    "name": "competitor_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNohow far back (default 365)
competitorYesthe rival’s id (from competitors)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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, closed-world behavior, so the bar is lower, yet the description still adds real value: monthly aggregation by page kind, chronological ordering ('oldest month first'), and the caveat that metric history only appears once the server retains it. That availability caveat is exactly the sort of behavioral context annotations cannot express.

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 compact sentences with the scope and ordering stated up front and no filler. The parenthetical backtick notation is slightly dense but earns its space by tying the description to the actual parameter name.

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?

With an output schema present, the description need not explain return values, and it does supply aggregation granularity, ordering, and the metric-history caveat. Complete enough for a two-parameter read-only history tool; only the absence of sibling routing keeps it from being fully self-sufficient.

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 coverage is 100%, so both parameters are already documented, including the 365-day default that the description repeats. The description adds no format or constraint detail beyond the schema, so this is the baseline case where structured fields do the work.

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?

Names a specific resource (one rival's history) and describes the shape of what comes back: page moves counted by page kind and by month over a long window. It implicitly separates itself from the activity-feed style sibling by emphasizing a long window and month-level aggregation, but it never names an alternative, so the differentiation is inferred rather than stated.

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 phrase 'over a long window' plus the default of a year signals the intended use case, and the metric-history note hints at what the tool does not yet cover. There is no explicit when-to-use/when-not guidance and no named alternative for shorter-range or single-event lookups.

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