Skip to main content
Glama

Delete application

visarun_delete_application
DestructiveIdempotent

Moves the application to the deleted list. Owners and admins of the organization delete any; a manager their assigned clients'; a member or a manager an application they own until it is submitted or paid. Nobody deletes it while a payment for it is processing or a payment request for it is open. Its open payment pages close first. Its owner or staff can restore it. Confirm with the human first.

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": {
      "application_id": "<application_id>"
    },
    "name": "visarun_delete_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
application_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing soft-delete semantics ('moves to deleted list', restorable by owner or staff), side effects ('its open payment pages close first'), and state-based preconditions. Annotations only say destructive=true and idempotent=true; the description adds the actual blast radius and reversibility.

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 the core action and then layered with permissions, blockers, side effects, and recovery — every clause carries decision-relevant information. Some sentences are telegraphic to the point of near-ungrammaticality ('a manager their assigned clients''), which slightly hurts readability without adding waste.

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 one-parameter destructive mutation with no output schema, the definition covers authorization, blocking conditions, side effects, reversibility, and the confirmation requirement. There is no material gap an agent would need filled before calling it.

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 coverage is 0% and the single application_id parameter is never described in prose, but the permission rules implicitly clarify that the ID refers to an application the caller has rights over. For a lone, obviously-named UUID parameter the schema's format/pattern already carries the mechanical meaning, so this is adequate but not additive.

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?

States a specific verb and resource ('Moves the application to the deleted list'), and the wording immediately signals a soft delete rather than permanent removal, distinguishing it from create/duplicate/submit siblings. An agent knows exactly what happens to the target object.

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?

Explicit when-can/when-cannot guidance: role-based authority (owner/admin, manager, member), ownership limits tied to submission/payment state, and hard blockers (payment processing, open payment request). It also mandates human confirmation and notes the restore path, leaving nothing to inference.

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