Skip to main content
Glama

Delete GPM Profile

gpm_delete_profile

Delete a GPMLogin profile permanently by removing only its database record or both the record and its on-disk data folder. Use it to clean up profiles; deletion cannot be undone.

Instructions

Xoá một profile GPMLogin. Cảnh báo: hành động không thể hoàn tác. mode=1 chỉ xoá khỏi DB, mode=2 (mặc định) xoá cả DB và thư mục dữ liệu trên đĩa.

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": {
      "profile_id": "<profile_id>"
    },
    "name": "gpm_delete_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo1: chỉ xoá DB, 2: xoá DB và thư mục profile (mặc định 2)
profile_idYesID của profile cần xoá

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it declares the action irreversible and explains that the default mode destroys both the DB record and the on-disk data folder. Remaining gaps are behavioral edge cases — whether a running profile can be deleted, what happens if the profile_id does not exist, and whether any confirmation or permission is required.

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?

Three short sentences, zero filler: purpose first, the irreversibility warning second, the mode distinction last. The most consequential information (irreversible deletion of on-disk data) is placed before the parameter detail.

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?

For a two-parameter destructive tool with no annotations and no output schema, the description covers the essential risk profile and default behavior. It falls short of full completeness only around preconditions and failure behavior, which matter for a delete operation but are secondary to the data-loss warning it already provides.

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% and the enum already documents mode=1/2, so the description's restatement of mode semantics adds reinforcement rather than new meaning. Baseline 3 is appropriate since the schema does the heavy lifting for both parameters.

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 ('Xoá một profile GPMLogin'), which is unambiguous against siblings such as gpm_close_profile, gpm_create_profile and gpm_update_profile. An agent can identify this as the hard-delete operation without inspecting the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clarifies which mode to choose (mode=1 vs mode=2, with 2 as default), which is conditional usage guidance. However, it never states when to prefer this over gpm_close_profile (stopping a running browser) or what prerequisites exist (e.g., profile must not be running), so the agent must infer the critical delete-vs-close distinction from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.