Skip to main content
Glama

analyze_competitor

Idempotent

Analyse a competitor's public X (Twitter) or LinkedIn account — posting frequency, content pillars, gaps, engagement and best posting time — and save it (re-analysing the same handle updates it). Needs a plan that includes competitor analysis; otherwise it returns an upgrade message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nicheNoThe competitor's niche, for context.
handleYesThe competitor's handle on that platform.
platformYesPlatform the handle is on.
display_nameNoName to show for this competitor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds meaningful context beyond the annotations: it persists/saves the result (consistent with readOnlyHint=false), updates on re-analysis (consistent with idempotentHint=true), and discloses a plan-gated failure path with a specific upgrade message. It does not cover rate limits or handle-resolution failures, but the key behavioral contract is stated.

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 dense sentences with no filler; the core action and scope lead, and the constraints (plan gating, update-on-re-run) follow. Slightly packed but every clause earns its place.

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 no output schema, the description usefully enumerates the return contents, and it covers the plan-gating failure mode and update semantics. Given four flat parameters and no nested structures, this is nearly complete; only edge cases like invalid handles are unaddressed.

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 all four parameters (handle, platform, niche, display_name) are already documented in the schema. The description adds no syntax, format, or normalization detail beyond what the schema provides, fitting the baseline.

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?

Starts with a specific verb (analyse) and a precisely scoped resource (a competitor's public X/Twitter or LinkedIn account), then enumerates the outputs produced (posting frequency, content pillars, gaps, engagement, best posting time). This distinguishes it from sibling reads like list_competitor_personas or get_analytics_trends.

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 context for use: requires a plan that includes competitor analysis, otherwise an upgrade message is returned, and notes that re-analysing the same handle updates the existing record rather than duplicating. No explicit alternative-tool routing is offered, but the when-to-use condition is concrete.

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.