Skip to main content
Glama

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

TableJSON 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.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation/overwrite profile is disclosed structurally. The description adds that a progress summary is returned and frames the bulk-fix/refresh use case, but the overwrite semantics ('existing insights overwritten on success') live only in the schema, not the description. Adequate additional context, not rich.

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, front-loaded with purpose and followed by usage and return behavior. Every sentence earns its place with no redundancy.

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

Completeness4/5

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

For a batch mutation tool with no output schema and full schema coverage, the description covers scope, use case, and return value (progress summary). It could note throttling or the superadmin-only path, but those are documented in the schema, leaving only minor gaps.

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 four parameters (force, limit, agentId, customerId) are fully documented in the schema itself. The description adds no parameter-level detail beyond that, which is the expected baseline when the schema carries the burden.

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), resource (insights), and scope (all runs of an agent), which implicitly separates it from the single-run 'regenerate_run_insights' sibling. It is clear what the tool does, though it never names the sibling it contrasts with by name.

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 clear conditions for reaching for this tool. It stops short of naming alternatives (regenerate_run_insights, refresh_agent_insights) or stating when NOT to use it, so it is good but not complete routing guidance.

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