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. (deprecated alias)

leanriq_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.. Deprecated alias for run_world_intelligence. 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.3/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the safety profile is partially covered. The description adds genuinely useful context beyond that: it 'creates billable AI usage,' execution is 'durable,' partial failure preserves qualified evidence, it 'never publishes or activates creative,' and a mutation with multiple authorised seats requires seatId/seatName on the exact call. Some remaining text (assistantSummary/raw-JSON output etiquette) is generic boilerplate rather than trait-specific.

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 first sentence duplicates the title verbatim (including a doubled period) and is followed by a long block of generic orchestration/output boilerplate. Several sentences earn their place (deprecation, billing, seat rule); others do not.

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-format explanation is unnecessary. For a 9-parameter tool with deeply nested objects at 0% schema coverage, however, the description answers key operational questions (billing, durability, seat requirement) but leaves the bulk of the input model — what a 'policy' or 'routine' call vs a plain run looks like — unresolved.

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 9 top-level parameters containing deep nested objects (policy, routine, advertiserContext). The description only addresses idempotencyKey derivation and the seatId/seatName write requirement, leaving policy, routine, advertiserContext, forceRefresh, lookbackHours and routineId entirely undocumented. It does not compensate for the coverage gap.

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 opening states a specific verb and resource: 'Run bounded, current World Intelligence for one authorised advertiser,' and clarifies the output is 'source-backed external context and creative opportunities.' It also flags that this is a deprecated alias of run_world_intelligence, which is a distinguishing trait, though it never contrasts itself against get_world_intelligence or the other world-* siblings.

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?

The 'Deprecated alias for run_world_intelligence' note implies an agent should prefer the canonical tool, and the mutation-mode list (validate_only, preview_only, execute) hints at call variants, but there is no explicit when-to-use / when-not-to-use statement or an instruction like 'use run_world_intelligence instead.' Usage is left largely to inference.

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