Skip to main content
Glama

Lovie Company Formation

Confirm Payment

formation_confirm_payment
Destructive

Verifies with Stripe that payment actually completed and, on success, advances the formation to filing. Usually unnecessary — payment auto-confirms via webhook once the user pays. Only call this if the user explicitly returns and says they have paid. A user saying they paid is NOT proof — only a successful result here confirms payment. If it is not successful, do not tell the user payment succeeded or proceed to filing; ask them to complete checkout and retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formationIdYesUUID value wrapper.
stripeSessionIdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNo
messageNo
formationIdNo
paymentStatusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / paymentConfirmed
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / formationId / anyOf
      Added value: +[
      +  {
      +    "description": "UUID value wrapper.",
      +    "properties": {
      +      "value": {
      +        "format": "uuid",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / formationId / description
      Removed value: -"UUID value wrapper."
    • removedOutput schema / properties / formationId / properties
      Removed value: -{
      -  "value": {
      -    "format": "uuid",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / formationId / type
      Removed value: -"object"
    • changedOutput schema / properties / status / enum
      Previous value: -[
      -  "FORMATION_STATUS_UNSPECIFIED",
      -  "FORMATION_STATUS_INITIATED",
      -  "FORMATION_STATUS_IN_PROGRESS",
      -  "FORMATION_STATUS_PAYMENT_PENDING",
      -  "FORMATION_STATUS_PAYMENT_COMPLETE",
      -  "FORMATION_STATUS_FILING_IN_PROGRESS",
      -  "FORMATION_STATUS_COMPLETED",
      -  "FORMATION_STATUS_FAILED",
      -  "FORMATION_STATUS_CANCELLED"
      -]New value: +[
      +  "FORMATION_STATUS_UNSPECIFIED",
      +  "FORMATION_STATUS_INITIATED",
      +  "FORMATION_STATUS_IN_PROGRESS",
      +  "FORMATION_STATUS_PAYMENT_PENDING",
      +  "FORMATION_STATUS_PAYMENT_COMPLETE",
      +  "FORMATION_STATUS_FILING_IN_PROGRESS",
      +  "FORMATION_STATUS_COMPLETED",
      +  "FORMATION_STATUS_FAILED",
      +  "FORMATION_STATUS_CANCELLED",
      +  "FORMATION_STATUS_IMPORTED"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Although annotations already declare destructiveHint and openWorldHint, the description adds meaningful behavioral context: it confirms payment with Stripe, advances the formation to filing on success, and instructs not to proceed or represent success if the verification fails. This goes beyond the structured annotations and clarifies the tool's real-world side effect.

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 made of five short, purposeful sentences, each carrying distinct information: the action, the default behavior, the trigger condition, the verification guarantee, and the failure protocol. It is front-loaded with the core function and wastes no words.

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?

With an output schema present, the return values are already documented. The description covers the decision-relevant semantics: when to call, what success does, what failure means, and how to respond. The only notable gap is the unexplained optional stripeSessionId parameter, which prevents a perfect score.

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?

Schema description coverage is only 50%, and the description does not explain the role of stripeSessionId at all. formationId is obvious from the context, but an agent is left guessing whether stripeSessionId is required for a specific Stripe session or only needed in certain flows. The description provides no parameter-level detail to compensate for the schema's gaps.

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: 'Verifies with Stripe that payment actually completed and, on success, advances the formation to filing.' This clearly distinguishes it from sibling formation tools like formation_get_payment_link or formation_purchase_formation, and from generic polling tools such as formation_sweep_formation_order_status.

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?

The description explicitly says when to call it ('Only call this if the user explicitly returns and says they have paid'), when not to call it ('Usually unnecessary — payment auto-confirms via webhook'), and what not to do on failure. It also warns that a user's claim of payment is not proof, which is strong, direct usage 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.