Skip to main content
Glama

Lovie Company Formation

Unfreeze Card

card_unfreeze_card
Idempotent

Restore a frozen card at the issuer so it accepts charges again. Safe to repeat: a card that is already active is returned unchanged and successfully. A cancelled card cannot be restored and is rejected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardIdYesUUID value wrapper.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / card / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "accountId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "address": {
      -        "type": "string"
      -      },
      -      "assignedTo": {
      -        "type": "string"
      -      },
      -      "cardholder": {
      -        "type": "string"
      -      },
      -      "companyId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "createdAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "currentSpendCents": {
      -        "type": "string"
      -      },
      -      "expiry": {
      -        "type": "string"
      -      },
      -      "fullAddress": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "last4": {
      -        "type": "string"
      -      },
      -      "network": {
      -        "type": "string"
      -      },
      -      "nickname": {
      -        "type": "string"
      -      },
      -      "provider": {
      -        "type": "string"
      -      },
      -      "spendInterval": {
      -        "enum": [
      -          "SPEND_INTERVAL_UNSPECIFIED",
      -          "SPEND_INTERVAL_DAILY",
      -          "SPEND_INTERVAL_MONTHLY",
      -          "SPEND_INTERVAL_YEARLY",
      -          "SPEND_INTERVAL_TRANSACTION"
      -        ],
      -        "type": "string"
      -      },
      -      "spendLimitCents": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "CARD_STATUS_UNSPECIFIED",
      -          "CARD_STATUS_ACTIVE",
      -          "CARD_STATUS_FROZEN",
      -          "CARD_STATUS_CANCELLED"
      -        ],
      -        "type": "string"
      -      },
      -      "terminatedAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "updatedAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "userId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "zip": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "companyId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "accountId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "address": {
      +        "type": "string"
      +      },
      +      "assignedTo": {
      +        "type": "string"
      +      },
      +      "cardholder": {
      +        "type": "string"
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "expiry": {
      +        "type": "string"
      +      },
      +      "fullAddress": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "last4": {
      +        "type": "string"
      +      },
      +      "network": {
      +        "type": "string"
      +      },
      +      "nickname": {
      +        "type": "string"
      +      },
      +      "provider": {
      +        "type": "string"
      +      },
      +      "spendInterval": {
      +        "enum": [
      +          "SPEND_INTERVAL_UNSPECIFIED",
      +          "SPEND_INTERVAL_DAILY",
      +          "SPEND_INTERVAL_MONTHLY",
      +          "SPEND_INTERVAL_YEARLY",
      +          "SPEND_INTERVAL_TRANSACTION"
      +        ],
      +        "type": "string"
      +      },
      +      "spendLimitCents": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "CARD_STATUS_UNSPECIFIED",
      +          "CARD_STATUS_ACTIVE",
      +          "CARD_STATUS_FROZEN",
      +          "CARD_STATUS_CANCELLED"
      +        ],
      +        "type": "string"
      +      },
      +      "terminatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "userId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "zip": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "companyId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed4 schema fields changed
    • addedOutput schema / properties / card / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "accountId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "address": {
      +        "type": "string"
      +      },
      +      "assignedTo": {
      +        "type": "string"
      +      },
      +      "cardholder": {
      +        "type": "string"
      +      },
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "currentSpendCents": {
      +        "type": "string"
      +      },
      +      "expiry": {
      +        "type": "string"
      +      },
      +      "fullAddress": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "last4": {
      +        "type": "string"
      +      },
      +      "network": {
      +        "type": "string"
      +      },
      +      "nickname": {
      +        "type": "string"
      +      },
      +      "provider": {
      +        "type": "string"
      +      },
      +      "spendInterval": {
      +        "enum": [
      +          "SPEND_INTERVAL_UNSPECIFIED",
      +          "SPEND_INTERVAL_DAILY",
      +          "SPEND_INTERVAL_MONTHLY",
      +          "SPEND_INTERVAL_YEARLY",
      +          "SPEND_INTERVAL_TRANSACTION"
      +        ],
      +        "type": "string"
      +      },
      +      "spendLimitCents": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "CARD_STATUS_UNSPECIFIED",
      +          "CARD_STATUS_ACTIVE",
      +          "CARD_STATUS_FROZEN",
      +          "CARD_STATUS_CANCELLED"
      +        ],
      +        "type": "string"
      +      },
      +      "terminatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "userId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "zip": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "companyId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / card / properties
      Removed value: -{
      -  "accountId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "address": {
      -    "type": "string"
      -  },
      -  "assignedTo": {
      -    "type": "string"
      -  },
      -  "cardholder": {
      -    "type": "string"
      -  },
      -  "companyId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "createdAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "currentSpendCents": {
      -    "type": "string"
      -  },
      -  "expiry": {
      -    "type": "string"
      -  },
      -  "fullAddress": {
      -    "type": "string"
      -  },
      -  "id": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "last4": {
      -    "type": "string"
      -  },
      -  "network": {
      -    "type": "string"
      -  },
      -  "nickname": {
      -    "type": "string"
      -  },
      -  "provider": {
      -    "type": "string"
      -  },
      -  "spendInterval": {
      -    "enum": [
      -      "SPEND_INTERVAL_UNSPECIFIED",
      -      "SPEND_INTERVAL_DAILY",
      -      "SPEND_INTERVAL_MONTHLY",
      -      "SPEND_INTERVAL_YEARLY",
      -      "SPEND_INTERVAL_TRANSACTION"
      -    ],
      -    "type": "string"
      -  },
      -  "spendLimitCents": {
      -    "type": "string"
      -  },
      -  "status": {
      -    "enum": [
      -      "CARD_STATUS_UNSPECIFIED",
      -      "CARD_STATUS_ACTIVE",
      -      "CARD_STATUS_FROZEN",
      -      "CARD_STATUS_CANCELLED"
      -    ],
      -    "type": "string"
      -  },
      -  "terminatedAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "updatedAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "userId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "zip": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / card / required
      Removed value: -[
      -  "id",
      -  "companyId"
      -]
    • removedOutput schema / properties / card / type
      Removed value: -"object"
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

The description adds value beyond the annotations by specifying idempotent behavior ('already active is returned unchanged and successfully') and the rejection of cancelled cards. This aligns with idempotentHint=true and destructiveHint=false while giving concrete edge-case details that an agent cannot infer from annotations alone.

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?

Two concise sentences with no filler. The core purpose is front-loaded, and the edge cases are stated efficiently in the second sentence.

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?

For a single-parameter tool with annotations covering safety and idempotency, the description fully covers the operation's behavior, repeatability, and failure case. Nothing essential is missing for an agent to invoke this correctly.

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% for the single parameter, and the schema already documents cardId as a UUID value wrapper. The description does not add further meaning about the parameter, so the baseline of 3 applies.

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 starts with a specific verb and resource ('Restore a frozen card at the issuer') and explains the intended outcome ('so it accepts charges again'). This clearly distinguishes the tool from siblings like card_freeze_card, card_get_card, and card_create_card without needing schema inspection.

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 gives clear context for when to use the tool: when a card is frozen and needs to be active again. It also provides an implicit exclusion by noting a cancelled card cannot be restored and will be rejected, though it does not explicitly name the alternative card_freeze_card or state 'do not use for cancelled cards' as a routing rule.

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.