Skip to main content
Glama

start_agent_run

Launch a Rolli Agent investigation from a plain-English question to search social platforms, analyze posts, and return a markdown intelligence report with evidence and confidence.

Instructions

Start a Rolli Agent investigation. Submit a plain-English question; the agent plans a search strategy, queries Rolli IQ across platforms, analyzes posts, and produces a markdown intelligence report with signals, evidence links, and a confidence rating. Fails immediately (before starting) if the IQ credit balance is insufficient. Polls inline for up to 2 minutes. If the run finishes in that window, returns the full results; otherwise returns the run ID and a note to fetch the results with get_agent_run (typical run takes 3–5 minutes).

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": {
      "question": "<question>"
    },
    "name": "start_agent_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoInvestigation mode (default: trend_briefing)
max_postNoMaximum posts per platform (default: 100)
metadataNoArbitrary JSON object stored on the run for your own tracking
questionYesPlain-English question (e.g., "What is being said about Tesla battery recalls this week?")
platformsNoPlatforms to search
time_windowNoTime window to search (default: 7d). Examples: 24h, 7d, 30d
parent_run_idNoUUID of a parent run (for follow-ups)
available_creditsNoReasoning effort: 1=low, 2=medium, 3=high, 4=max (default). Higher values let the agent perform more searches at higher cost.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.5.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / max_post / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / metadata / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / parent_run_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. Changed2 schema fields changedv1.4.1
    • changedInput schema / properties / available_credits / description
      Previous value: -"Reasoning effort: 1=low, 2=medium (default), 3=high, 4=max. Higher values let the agent perform more searches at higher cost."New value: +"Reasoning effort: 1=low, 2=medium, 3=high, 4=max (default). Higher values let the agent perform more searches at higher cost."
    • changedInput schema / properties / max_post / description
      Previous value: -"Maximum posts per platform (default: 50)"New value: +"Maximum posts per platform (default: 100)"
  3. Changed1 schema field changedv1.4.0
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "twitter",
      -  "reddit",
      -  "bluesky",
      -  "youtube",
      -  "threads",
      -  "facebook",
      -  "weibo"
      -]New value: +[
      +  "twitter",
      +  "reddit",
      +  "bluesky",
      +  "youtube",
      +  "threads",
      +  "facebook"
      +]
  4. Addedv1.3.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses the pre-flight failure mode (insufficient IQ credits aborts before starting), the inline polling window (up to 2 minutes), the expected total latency (3-5 minutes), and the two possible return shapes (full results vs. run ID plus a follow-up instruction). These are exactly the cost, timing, and failure facts an agent needs before committing to a long-running operation.

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

Conciseness5/5

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

Four sentences, front-loaded with purpose, then the pipeline, then the failure/latency/return contract. Every sentence carries operational information an agent needs, and the parenthetical '(typical run takes 3-5 minutes)' pre-empts the obvious follow-up question about the 2-minute poll window.

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

Completeness5/5

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

For an eight-parameter, long-running async tool with no annotations and no output schema, the description covers what matters: what it does, what it costs, how long it takes, how it can fail, and what comes back in each outcome. Return-value explanation is present precisely because no output schema exists to supply it.

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 eight parameters are already documented in structured data, which sets the baseline at 3. The description only reinforces the 'question' parameter as plain English; it adds nothing about mode selection, platform defaults, time_window syntax, or the fact that the field named available_credits actually controls reasoning effort rather than a credit balance.

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?

States a specific verb and resource ('Start a Rolli Agent investigation') and then spells out the full pipeline: plan search strategy, query Rolli IQ across platforms, analyze posts, produce a markdown report with signals, evidence links, and confidence rating. An agent can distinguish this from siblings like get_agent_run, rerun_agent_run, or expert_search without opening any schema.

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 conditions for calling it (submit a plain-English question) and explicitly routes to get_agent_run when the inline poll window expires. It also flags the credit-balance precondition. It stops short of stating when NOT to use it versus rerun_agent_run, cancel_agent_run, or the expert_search/keyword_search alternatives, so it is strong but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.