Skip to main content
Glama

Research a competitor

research_competitor

Starts the first research on one core competitor that has none yet: Debriefing reads its site and outside sources. It uses one update from the weekly research allowance. Admin only. Send an idempotency_key. A retry with the same idempotency_key returns the first answer and does not act again. It starts no second job and uses no allowance or daily cap a second time.

Input Schema

NameRequiredDescriptionDefault
competitor_idYesAn id from list_competitors
idempotency_keyYesA unique string you make for this request, such as a UUID. Send the same key when you retry, and Debriefing returns the first answer instead of acting twice.

Output Schema

NameRequiredDescriptionDefault
okYes
messageYes
refreshNo
replayedNoTrue when this answer repeats an earlier call with the same idempotency_key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: the Admin-only permission requirement, the consumption of one weekly allowance update, the idempotency-key retry semantics, and the guarantee that a retry neither starts a second job nor double-charges the allowance or daily cap. This is exactly the operational cost and auth detail the readOnlyHint/openWorldHint annotations cannot convey; the annotation idempotentHint=false reflects raw call behavior, while the description correctly scopes idempotency to key reuse.

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?

Front-loaded with the action and its precondition, and the operational constraints are packed densely. The final sentence ('It starts no second job and uses no allowance or daily cap a second time') largely repeats the preceding idempotency sentence, which is minor redundancy rather than noise.

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 mutation tool with an output schema, the description covers permissions, cost, precondition, and retry safety, so return values need no explanation. The one gap is failure-mode behavior: it does not say what the caller gets back if the competitor already has research or if the allowance is exhausted.

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%, so both competitor_id (sourced from list_competitors) and idempotency_key are already fully documented in the schema. The description restates the idempotency-key contract and nothing more, so the baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Starts the first research on one core competitor') plus the eligibility precondition ('that has none yet'), which no sibling tool performs. An agent can distinguish this from read-only siblings like get_competitor or list_competitors without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear usage context: it applies to a core competitor with no existing research, it requires Admin, and it consumes one weekly research allowance update. No alternative tool is named, but no sibling performs research at all, so there is no routing ambiguity to resolve. It also does not say what to do if the competitor already has research beyond noting no second job starts.

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.