Skip to main content
Glama

Run bounded, current World Intelligence for one authorised advertiser. It returns source-backed external context and creative opportunities; evidence may be partial and it never publishes or activates creative.

run_world_intelligence
Idempotent

Run bounded, current World Intelligence for one authorised advertiser. It returns source-backed external context and creative opportunities; evidence may be partial and it never publishes or activates creative.. Classification: creates billable AI usage. Execution: durable. Task support: optional. Mutation modes: validate_only, preview_only, execute. Partial failure policy: preserve_qualified_evidence_and_signals. 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

TableJSON Schema
NameRequiredDescriptionDefault
policyNo
seatIdNo
routineNo
seatNameNo
routineIdNo
advertiserIdNo
forceRefreshNo
lookbackHoursNo
advertiserContextNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
metaYes
errorNo
statusYes
assistantSummaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • addedInput schema / properties / advertiserContext / properties / approvedBenefits
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "maxLength": 400,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / advertiserContext / properties / approvedClaims
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "maxLength": 500,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 30,
      +  "type": "array"
      +}
    • addedInput schema / properties / advertiserContext / properties / brandPositioning
      Added value: +{
      +  "maxLength": 1200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / advertiserContext / properties / brandSummary
      Added value: +{
      +  "maxLength": 1600,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / advertiserContext / properties / category
      Added value: +{
      +  "maxLength": 160,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / advertiserContext / properties / competitors
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "maxLength": 400,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 16,
      +  "type": "array"
      +}
    • addedInput schema / properties / advertiserContext / properties / ctaGuidance
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "maxLength": 300,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 16,
      +  "type": "array"
      +}
    • addedInput schema / properties / advertiserContext / properties / keyMessages
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "maxLength": 400,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 16,
      +  "type": "array"
      +}
    • addedInput schema / properties / advertiserContext / properties / market
      Added value: +{
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / advertiserContext / properties / officialDomain
      Added value: +{
      +  "maxLength": 240,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / advertiserContext / properties / products
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "maxLength": 300,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / advertiserContext / properties / propositions
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "maxLength": 400,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / advertiserContext / properties / services
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "maxLength": 300,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / advertiserContext / properties / targetAudience
      Added value: +{
      +  "default": [],
      +  "items": {
      +    "maxLength": 400,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 16,
      +  "type": "array"
      +}
  2. Added

TDQS

B3/5.0
Behavior4/5

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

Beyond the annotations (which only say readOnlyHint=false, destructiveHint=false, idempotentHint=true), the description discloses real behavioral traits: it 'creates billable AI usage', execution is 'durable', evidence 'may be partial', mutation modes include validate_only/preview_only/execute, the partial-failure policy preserves qualified evidence, and it 'never publishes or activates creative'. The idempotency-key derivation and seat-precondition rules add further operational context. Remaining boilerplate about display formatting dilutes but does not negate this.

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 reasonably front-loaded, but the body is bloated: the title sentence is duplicated verbatim (with a stray double period), and a large block is dedicated to UI/response-rendering instructions ('never display raw JSON', 'use assistantSummary first') that belong in a system prompt, not a tool definition. Ratio of signal to boilerplate is poor.

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

Completeness3/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 described, and the description does cover the mutation/durability/billing/idempotency profile expected of a complex mutating tool. However, it omits how the core inputs (policy, advertiserContext, routine) shape the run and gives no sibling routing, leaving an agent under-informed about how to actually invoke it correctly.

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?

With 9 parameters, deeply nested objects, and 0% schema description coverage, the description must carry the burden and largely does not. It explains only seatId/seatName semantics and idempotencyKey behavior (a field not even present in the schema), while policy, advertiserContext, routine/routineId, forceRefresh, and lookbackHours are left entirely unexplained.

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 first sentence names a specific verb ('Run') and resource ('World Intelligence') scoped to one advertiser, and adds what it returns ('source-backed external context and creative opportunities'). It does not, however, distinguish itself from near-identical siblings such as get_world_intelligence, leanriq_run_world_intelligence, or run_competitor_intelligence, so an agent cannot route between them from this text alone.

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

Usage Guidelines2/5

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

There is no statement of when to prefer this tool over the many world/competitor intelligence siblings. The only usage-adjacent content is a precondition for writes ('seatId or seatName must be supplied on that exact tool call'), which is a compliance rule rather than selection guidance.

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