Skip to main content
Glama

get_variant_details

Read-only

Get detailed comparison of all variants from an optimization run, including metrics and content differences

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
processIdYesThe optimization process ID
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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered structurally. The description adds a modest behavioral detail by stating the response includes metrics and content differences, but it says nothing about pagination, volume of variants, or formatting of the comparison. Reasonable given annotations carry the safety burden.

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?

A single compact sentence that front-loads the action and scope and closes with the returned content. No filler, no repetition of the tool name or annotations.

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 two-parameter read tool with no output schema, the description covers what the agent gets back (variant metrics and content diffs) and annotations cover safety. The main residual gap is the absence of any note about how many variants are returned or their ordering, which keeps it just short of full completeness.

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 (processId, customerId) carry their own descriptions, including the superadmin-only caveat on customerId. The description adds no parameter-level meaning beyond the schema, which is the baseline-3 case when the schema does the heavy lifting.

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 (Get), resource (variant details), and scope (all variants from an optimization run), plus the payload (metrics and content differences). It is distinguishable from nearby siblings like apply_variant or validate_variant, though it does not explicitly contrast itself with get_optimization_details, which covers adjacent territory.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied — you call this to inspect variants after an optimization run — but the description never states when to prefer it over siblings such as get_optimization_details, validate_variant, or apply_variant, nor does it mention prerequisites like a completed run. Adequate but leaves routing to inference.

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