Skip to main content
Glama

Trigger AI analysis

trigger_analysis

Summarize open-text answers with AI. Spends the community's credits and runs in the background — read the result with get_analysis, do not expect it in this reply. force re-summarizes blocks that already have a summary, at full cost. Refused with text_analysis_off when no open_text block may be summarized (community, project and block settings); get_analysis shows each block's text_analysis and why.

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": {
      "project_id": "<project_id>"
    },
    "name": "trigger_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoRe-summarize blocks that already have a summary. Costs credits again.
project_idYesProject id, from list_projects or create_project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / force / description
      Added value: +"Re-summarize blocks that already have a summary. Costs credits again."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=false) by disclosing three non-obvious traits: it consumes community credits, it executes asynchronously so results must be fetched separately, and it can be refused with the specific error code text_analysis_off based on community/project/block settings. This is exactly the kind of cost, latency, and failure-mode context an agent needs before invoking a mutating, credit-spending call.

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?

Three tight sentences, front-loaded with what the tool does, then the async/cost caveat, then the parameters and refusal path. No filler and no repetition beyond the minor restatement of force's cost.

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?

With no output schema, the description correctly tells the agent where the result lives (get_analysis) and how to inspect per-block text_analysis status. Cost, async behavior, force semantics, and the refusal path are all covered for a two-parameter tool.

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% and both parameters are documented there, including force's 'Costs credits again' note. The description's 'force re-summarizes blocks that already have a summary, at full cost' restates the schema rather than adding new meaning, so the baseline of 3 applies.

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 — 'Summarize open-text answers with AI' — and immediately distinguishes itself from the sibling get_analysis by clarifying that the result is not returned here. An agent can tell this is the kickoff/trigger step rather than the retrieval step.

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?

Explicitly routes the agent to get_analysis to read output, and explains when force is warranted (blocks that already have a summary, at full cost). It also names the refusal condition (text_analysis_off) and where to diagnose it. It stops short of an explicit 'use this when you need X' framing, but the operational guidance is clear.

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.