Skip to main content
Glama
MyLife Finance

MyLife Finance

by Zheny918

account_delete

Deletes an account only when no transactions reference it; otherwise, direct the user to archive it instead.

Instructions

删除账户(仅当该用户下无交易引用时;否则请改用归档)。

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": {
      "id": "<id>"
    },
    "name": "account_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
userIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

B3.4/5.0
Behavior3/5

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

There are no annotations, so the description carries the full behavioral burden, and it does disclose the key gating rule: deletion is only permitted when no transactions reference the user. However, it says nothing about permanence/irreversibility, what error or side effect occurs if references exist, what happens to dependent records, or required permissions – all material for a destructive operation.

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?

A single parenthetical sentence with zero filler, and the critical precondition sits immediately after the operation name rather than being buried. Nothing could be removed without losing the gating rule.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, annotation-free mutation with zero schema documentation and no output schema, the definition is too thin: parameter meaning, irreversibility, and post-condition behavior are all missing. Only the reference-check gate is covered, leaving the agent unable to call this safely without guessing about 'id' vs 'userId'.

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 0% with two parameters (required 'id', optional 'userId'), so the description needs to compensate and does not. Worse, the mention of '该用户下' hints at a user context but never clarifies the distinction between 'id' (the account?) and 'userId' (the owner?), which is exactly the ambiguity an agent would hit when invoking this tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource ('删除账户' / delete account) plus a scope condition, so an agent immediately knows the operation. It does not explicitly contrast itself with the other *_delete siblings, but the resource name inside the definition makes the target unambiguous.

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?

It states both the when ('仅当该用户下无交易引用时') and the when-not with an alternative ('否则请改用归档'). That is genuinely actionable guidance. The only weakness is that the alternative is named conceptually ('归档') rather than as a resolvable sibling tool name, leaving the agent to map it to the actual archive tool.

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