Skip to main content
Glama

delete_profile

Move a confirmed career profile to the local trash for later recovery; view it in the trash list or restore it when needed.

Instructions

删除一份职业档案——移入回收站,可恢复。

何时调用:用户确认要废弃某份档案时。删除是回收站式的:档案移入 本地回收站目录(trash/),可用 list_trash 查看、restore_profile 恢复, 不会真正丢失数据。

Args: profile_name: 要删除的档案名(用 list_profiles 查看可用档案) confirm: 必须显式传 "true" 才会执行;其他值只返回确认提示不删除

Returns: 删除结果 + 回收站位置 + 恢复指引。

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_name": "<profile_name>"
    },
    "name": "delete_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
profile_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.9/5.0
Behavior5/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 so: it discloses that deletion is a soft delete into a local trash/ directory, that data is not truly lost, where the item goes, and how to recover it. It also discloses the two-step confirmation behavior, including that non-"true" values return a prompt instead of deleting.

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 operation and its recoverability, then organized into clear When/Args/Returns sections with no filler. The Returns section partially duplicates what the output schema already provides, which is the only redundancy.

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 two-parameter soft-delete tool with no annotations, the definition covers trigger, irreversibility profile, confirmation gate, parameter discovery, and recovery path. Since an output schema exists, the brief Returns note is sufficient rather than a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: profile_name is explained with a pointer to list_profiles for discovery, and confirm is documented with the exact literal "true" required and the fallback behavior for any other value. This is meaning the bare schema (confirm has an empty-string default) could not convey.

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 opening line states a specific verb and resource (删除职业档案) and immediately qualifies the operation's nature (移入回收站,可恢复). This cleanly distinguishes it from siblings like restore_profile and list_trash without the agent needing to open any schema.

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?

It gives an explicit trigger ('用户确认要废弃某份档案时') and names the alternatives and their roles: list_profiles to find a name, list_trash to inspect the result, restore_profile to undo. The confirm gate is spelled out as a required precondition, so there is nothing left to infer.

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