Skip to main content
Glama

Research topic SERP

research_topic
Destructive

Build a citability brief for one question: People Also Ask, related queries, cited domains, and an AI Overview check. The SERP is always requested with the AI Overview load, so aiOverviewRequested: true with aiOverview: false means Google serves none for this query, not that we did not look. Costs the user about USD 0.004 (one SERP including the AI Overview load) when the topic already has measured metrics, or about USD 0.116 when it must be measured first. A brief built in the last 14 days is returned from storage for free. refreshMetrics re-measures volume (about USD 0.11 extra); refresh_metrics covers more than one term. The whole call is priced and approved as one plan, so it can come back degraded with reason spend-limit before any request: nothing is charged and no brief is stored. It also refuses with reason archived-topic before estimating any cost when the topic is retired; re-adding the term brings it back. market picks the workspace market the SERP and any metrics are for (an id from get_profile markets; the main market when left out), and the response names it (market): freshness, the stored brief and the 14-day reuse are that market's, and a brief built outside the main market is stored under that market without rewriting the writer instructions of an article linked to the topic, which follow the main market's brief. An id outside the workspace's markets is refused with reason unknown_market before anything is spent.

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": {
      "term": "<term>"
    },
    "name": "research_topic"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYes
marketNoThe workspace market this call measures in, as an id from get_profile markets ("ar-es", "br-pt"). Left out, the main market. An id outside the workspace's markets is refused with reason unknown_market before anything is spent.
workspaceIdNoThe workspace this call acts on, as listed by list_workspaces. Left out, the call uses the workspace the account is in right now.
refreshMetricsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / market
      Added value: +{
      +  "description": "The workspace market this call measures in, as an id from get_profile markets (\"ar-es\", \"br-pt\"). Left out, the main market. An id outside the workspace's markets is refused with reason unknown_market before anything is spent.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / workspaceId
      Added value: +{
      +  "description": "The workspace this call acts on, as listed by list_workspaces. Left out, the call uses the workspace the account is in right now.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say destructive/openWorld/non-idempotent; the description goes far beyond them with cost figures, the 14-day storage reuse, the plan-level pricing and degradation (spend-limit charges nothing and stores nothing), the archived-topic refusal, and the unknown_market refusal happening before spend. It also clarifies a non-obvious non-effect: a brief in a non-main market is stored without rewriting an article's writer instructions. That is exactly the kind of behavior an agent needs and the annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the body is one dense block of run-on sentences with parenthetical asides and switches mid-paragraph between cost, refusals, and market semantics. Every fact is relevant, yet the lack of structure makes it harder to scan than it needs to be.

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 4-parameter tool with no output schema, the definition covers cost, approval, refusals, caching, and market scoping thoroughly, and hints at the response containing the market. It stops short of saying what the returned brief contains or how terms are matched to existing topics, which is the remaining gap.

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?

Schema coverage is 50% and both refreshMetrics and term are undocumented in the schema; the description compensates for refreshMetrics (re-measures volume, ~USD 0.11 extra) and elaborates market well beyond the schema text (selects which market the SERP, freshness, stored brief and 14-day reuse belong to; echoed in the response). term and workspaceId are left to the schema or unstated, so it is not fully compensating.

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?

Opens with a concrete verb and deliverable: "Build a citability brief for one question," then enumerates the components (People Also Ask, related queries, cited domains, AI Overview check). It partially separates itself from the sibling refresh_metrics ("refresh_metrics covers more than one term"), but never states outright which tool an agent should pick for multi-term work.

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 usable decision context: a brief under 14 days old is free from storage, refreshMetrics costs about USD 0.11 extra, and the call is priced and approved as one plan up front. What is missing is an explicit "use this instead of X when…" routing statement against list_topics, plan_topics, or refresh_metrics, so the agent must infer the boundary.

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