Skip to main content
Glama

regenerate_run_insights

Destructive

Regenerate insights for a single run. Use this when a run's insights are missing, incorrect, or need to be refreshed. The regeneration happens asynchronously.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoRegenerate even if valid insights already exist; existing insights are overwritten on success, not deleted first (default: false)
customerIdNo(Converra superadmin only) Target customer ID to act on behalf of
conversationIdYesThe ID of the run to regenerate insights for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description adds a non-obvious trait: the regeneration is asynchronous. It also indirectly explains the overwrite behavior via the force param. It does not contradict the destructive annotation and adds real behavioral context.

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?

Two tightly written sentences, front-loaded with the action and immediately followed by the trigger condition. No redundant restatement of the name or title.

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?

Covers purpose, trigger, and async nature, but for a tool with no output schema and asynchronous execution it omits how to retrieve the regenerated results (e.g., get_run_insights) or how to poll status. Adequate but leaves a real gap for an async mutation.

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 coverage is 100%, so all three parameters (conversationId, force, customerId) are fully documented in the schema, including the overwrite semantics of force. The description adds no parameter-level meaning beyond that, 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 (Regenerate) and resource (insights) with scope explicitly bounded to 'a single run', which cleanly separates it from the sibling batch_regenerate_insights. An agent can identify what it does without opening the 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 trigger conditions ('missing, incorrect, or need to be refreshed') for when to invoke it. It stops short of naming the alternative (batch_regenerate_insights) or stating when not to use it, so it lacks explicit sibling routing.

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