Skip to main content
Glama

Complete alignment

complete_alignment
DestructiveIdempotent

Completes alignment, as the Complete Alignment button of the app does. Call it only when get_alignment gives ready_to_complete true, and the customer says to complete alignment. When get_alignment gives complete_statement, show this exact statement first, and get an explicit yes: "Once you complete alignment, any further changes to your prenup will need to be done by a lawyer. Are you sure you want to continue?" Then call with confirm true. When both partners completed alignment, the app makes the draft prenup. The completion emails the customer and the partner. Give the customer next_step or waiting_for_partner. When the result gives upgrade, offer the upgrade to Lawyer Review with its text and url.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "confirm": "<confirm>"
    },
    "name": "complete_alignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesTrue only after the customer said yes to complete alignment, and to complete_statement when get_alignment gives it.

Output Schema

NameRequiredDescriptionDefault
statusYes
app_urlYesThe dashboard of the app.
upgradeNoOnly for a prenup that can upgrade to Lawyer Review: the offer of the app.
next_stepNoThe current module of the customer.
completed_nowYesFalse when alignment was already complete. The tool then changed nothing.
waiting_for_partnerNoWhy the next module waits for the partner.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotentHint, but the description adds side effects the agent could not otherwise know: emails go to the customer and partner, and when both partners complete, the app generates the draft prenup. It also discloses the result fields to act on (next_step, waiting_for_partner, upgrade with text and url).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then preconditions, then side effects and follow-up handling — a logical order. It is dense and the embedded quoted warning lengthens it, but every sentence carries actionable information; minor tightening could improve readability.

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?

This is a destructive, customer-facing commit action, and the description covers the prerequisite state, the exact confirmation script, the side effects, and how to handle each result branch. Even though an output schema exists, it explains the result fields in terms of agent behavior, leaving nothing an agent needs missing.

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 100% and the confirm parameter already has an enum-constrained description, so the schema does most of the work. The description nonetheless adds the operational meaning: confirm must be true only after the customer explicitly says yes to the complete_statement warning.

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 and resource ('Completes alignment') and anchors it to the app's Complete Alignment button, which tells an agent this is the terminal commit action rather than a step. It is somewhat circular (the description largely restates the name), but the button analogy and the get_alignment precondition separate it from complete_alignment_step.

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?

Gives explicit gating conditions: call only when get_alignment returns ready_to_complete true and the customer asks to complete. It also specifies an intermediate required interaction (show complete_statement verbatim, obtain an explicit yes, then call with confirm true) and names the alternative state to watch for (waiting_for_partner).

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