Skip to main content
Glama

Build a versioned advertiser research graph from configured identity and approved context.

build_world_research_profile
Idempotent

Build a versioned advertiser research graph from configured identity and approved context.. Classification: read-only. Execution: synchronous. Task support: forbidden. Mutation modes: validate_only, preview_only, execute. Partial failure policy: completed_items_not_rolled_back. The returned JSON is internal application state for LeanrIQ and ChatGPT orchestration. Use assistantSummary first when responding to the user. Never display raw JSON, data, or meta unless the user explicitly asks for raw JSON. Mention IDs only when useful for follow-up or debugging. Prefer concise, human language, highlight the most useful insight, and suggest the next best LeanrIQ action. If idempotencyKey is omitted on a mutation, the MCP layer derives a deterministic retry key from the tool and business arguments so an accidental identical replay cannot create duplicate work. For a mutation when more than one seat is authorised, seatId or seatName must be supplied on that exact tool call; a remembered or previously selected seat is not sufficient for a write.

Input Schema

NameRequiredDescriptionDefault
seatIdNo
seatNameNo
advertiserIdNo
sourceLocaleNo
targetMarketNo
contentLocaleNo
marketContextNo
targetMarketsNo
contentLocalesNo
advertiserContextNo
defaultContentLocaleNo
marketLanguageProfileNo
resolvedContentLocaleNo
languageVariantGroupIdNo
requestedOutputLocalesNo
supportedContentLocalesNo

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes
errorNo
statusYes
assistantSummaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.5/5.0
Behavior1/5

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

The description explicitly states 'Classification: read-only' while the annotations declare readOnlyHint=false, and the same text describes mutation modes (validate_only, preview_only, execute) and write-oriented seat requirements. This directly contradicts the structured annotation and would mislead an agent about whether the call mutates state.

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

Conciseness2/5

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

The purpose is front-loaded, but roughly half the text is generic orchestration/UX boilerplate (use assistantSummary first, never display raw JSON, suggest the next best action) that belongs in a system prompt rather than a tool definition, and it duplicates the title verbatim with a double period. The tool-specific signal is buried in padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be explained, and the description does cover mutation modes, partial-failure policy, and idempotency. But for a 16-parameter tool with 0% schema coverage and deeply nested approved-context objects, it omits any explanation of prerequisites, identity configuration requirements, or input structure, and its 'read-only' claim conflicts with the actual write behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 16 parameters, including large nested objects (advertiserContext with dozens of fields, marketContext, campaignContext), so the description carries the full burden — yet it only adds meaning for seatId/seatName and a node named idempotencyKey that is not even in the schema. The remaining parameters, including the entire advertiserContext payload, are left undocumented.

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?

The description states a specific verb and resource — building a versioned advertiser research graph from configured identity and approved context — which is far more than a name restatement. It does not, however, differentiate itself from the many sibling research tools (get_world_research_profile, leanriq_build_world_research_profile, get_world_research_summary), so an agent gets the 'what' but not a decisive 'this one vs that one'.

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?

It provides real prerequisites for invoking the tool — the seatId/seatName requirement on the exact mutation call when more than one seat is authorized, and idempotencyKey derivation on omission — plus the available mutation modes. But it never says when to choose this tool over the adjacent get_world_research_* or build siblings, so the routing guidance is implied rather than stated.

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