Skip to main content
Glama
Mipiti
by Mipiti

undo_lift_composition_event

Reverses a prior lift composition event, persisting inverse state across affected models. Detects any material state evolution and returns 409 with a refusal block to prevent unsafe undo.

Instructions

Apply the inverse of a previous lift_applied composition event. Mutating — persists inverse state across multiple models.

Re-runs the divergence detector immediately before applying and refuses with 409 + the structured refusal block when state has materially evolved since the forward lift (assertions submitted on the lifted entity, downstream COs added that reference it, the entity edited, etc.). On success, persists the inverse state operations across the LCA + every affected source descendant and emits a structured lift_undone activity event citing original_event_id so the audit pack can chain undo to its forward.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lift_idYesEither the surrogate id of the ``lift_applied`` activity event, or the structured ``lift_id`` carried in the event payload.
model_idYesThe model whose composition view originated the lift. Must match the cited event's ``threat_model_id`` — the server rejects cross-model citations with 404.
server_versionYes

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, the description carries full burden for behavioral disclosure. It explicitly states mutation, cross-model persistence, pre-apply divergence check, refusal details, success side effects, and the emitted lift_undone event with original_event_id. This is excellent disclosure of side effects and failure modes.

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 three information-dense sentences with no filler or repetition. It front-loads the core purpose and then provides necessary behavioral details. The structure is appropriate for a complex undo operation.

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?

Despite the complexity, the description covers success side effects, failure modes, persistence scope, and audit chain. An output schema exists, so return-value details are not required. It is complete enough for an agent to understand when and how the tool behaves.

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

Parameters2/5

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

The description adds no parameter-level meaning beyond the input schema. Schema coverage is 67% with server_version lacking any description, and the description does not compensate for that gap. The lift_id and model_id descriptions in the schema are helpful, but the tool description itself contributes nothing to parameter understanding.

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 first sentence clearly identifies the exact action: applying the inverse of a previous lift_applied composition event. This distinguishes it from forward lift and undo_split siblings. The 'Mutating' note reinforces the purpose as an undo/state-changing operation.

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?

The description provides clear operational context, including the divergence detector re-run and 409 refusal when state has evolved. This tells an agent when the tool is appropriate or likely to fail. However, it does not explicitly name alternatives like preview_undo_lift_composition, so it lacks explicit exclusions/alternatives.

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