Skip to main content
Glama
Mipiti
by Mipiti

apply_certain_reconciliation_match

Apply a reconciliation match to resolve duplicate entities by soft-deleting the descendant's duplicate and inheriting the canonical ancestor entity. Revalidates state to prevent stale applications.

Instructions

Apply a certain-tier reconciliation candidate. Mutates state.

Soft-deletes the descendant's own duplicate entity; the inherited entity becomes the canonical surface for the effective-model resolver. Use after surveying candidates via list_reconciliation_candidates. Certain-tier candidates apply directly; heuristic-tier candidates need operator review of the structural divergence and are refused server-side unless confirm_heuristic=True is passed to acknowledge the divergence.

The server re-validates the candidate against current live state before applying; if the model has moved since the candidate was detected, returns 400 and the operator should refresh the candidate list and retry. Bumps model version and emits an activity event on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesEntity kind — one of ``"assets"``, ``"attackers"``, ``"components"``.
own_qidYesQualified id of the descendant's own duplicate (e.g. ``"child:A1"``).
model_idYesID of the descendant threat model the duplicate is on.
inherited_qidYesQualified id of the canonical entity on the ancestor (e.g. ``"parent:A1"``).
server_versionYes
confirm_heuristicNoAcknowledge and apply a heuristic-tier candidate despite its structural divergence. Default False — heuristic-tier matches are refused server-side without this flag. Leave False for certain-tier candidates.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly. It discloses mutation, soft-deletion of the duplicate, the server re-validating against live state, returning a 400 on stale candidates, bumping model version, and emitting an activity event. This goes far beyond a simple 'mutates state' warning.

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?

The description is compact yet information-dense. Every sentence contributes: purpose, mutation consequences, usage context, tier-specific behavior, server-side revalidation, and side effects. There is no redundancy or filler.

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?

The description is complete for a complex mutation tool. It covers when to use, what happens, error conditions (400 on stale state), and side effects. An output schema exists, so return value details are handled there. No significant gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is high (83%), so baseline is 3. The description adds meaningful semantics by explaining how own_qid and inherited_qid map to the duplicate and canonical entities, and clarifies that confirm_heuristic acknowledges structural divergence and is required for heuristic-tier candidates. It does not add much for server_version beyond implicit mention of server re-validation, but overall it adds substantive value.

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?

The description opens with a specific verb and resource: 'Apply a certain-tier reconciliation candidate. Mutates state.' It clearly distinguishes from sibling tools like list_reconciliation_candidates and reject_reconciliation_candidate by explaining that it applies the candidate and soft-deletes the duplicate entity, making the inherited entity canonical.

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

Usage Guidelines5/5

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

Explicitly states when to use this tool: 'Use after surveying candidates via list_reconciliation_candidates.' It also clarifies the distinction between certain-tier and heuristic-tier candidates, noting that heuristic-tier requires confirm_heuristic=True and is otherwise refused server-side. This provides clear guidance on when this tool is appropriate versus when operator review is needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mipiti/mipiti-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server