Skip to main content
Glama

Batch Regenerate Insights

batch_regenerate_insights
Destructive

Regenerate insights for all runs of an agent. Use this to bulk-fix broken insights or refresh after changes. Returns progress summary.

Input Schema

NameRequiredDescriptionDefault
forceNoRegenerate even if valid insights already exist; existing insights are overwritten on success, not deleted first (default: false)
limitNoMaximum number of runs to process (default: 50, max: 200)
agentIdYesThe agent ID to regenerate insights for all its runs
customerIdNo(Converra superadmin only) Target customer ID to act on behalf of

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=false, so the safety profile is known. The description adds little beyond that — 'Returns progress summary' hints at the output shape, but nothing about the overwrite behavior of `force` or the batch limit, which lives entirely in the schema.

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 short sentences, zero filler, with the core action front-loaded and the usage trigger immediately after. Every sentence carries information.

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?

For a destructive batch mutation with no output schema, the description is thin: it does not mention the default limit of 50 (which bounds scope), the overwrite behavior, or how it relates to the single-run sibling. The 'progress summary' note partially covers the return, but an agent must open the schema to understand the operation's blast radius.

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%, and the schema descriptions are rich (overwrite semantics, defaults, max values, superadmin restriction). The description contributes no parameter detail beyond what the schema already provides, so the baseline 3 is appropriate.

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?

States a specific verb (regenerate) plus resource (insights) with a clear scope qualifier ('for all runs of an agent'), which distinguishes it from a single-run variant. However, it never contrasts itself with close siblings like regenerate_run_insights or refresh_agent_insights, so the boundary is inferred rather than stated.

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?

'Use this to bulk-fix broken insights or refresh after changes' gives concrete when-to-use triggers. It stops short of naming alternatives (regenerate_run_insights, refresh_agent_insights) or when-not conditions, so an agent could still pick the wrong sibling for a single run.

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