Skip to main content
Glama
MyLife Finance

MyLife Finance

by Zheny918

project_delete

Deletes a financial project only when no transactions reference it, preventing removal of projects still in use.

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": "project_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
userIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

B3.1/5.0
Behavior3/5

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

Annotations are absent, so the description carries the full burden, and it does at least disclose the key guard: the operation is rejected when transactions reference the project. It stops short of saying whether deletion is reversible, what error or response the caller receives on rejection, or what the userId parameter affects — meaningful gaps for a destructive tool with zero annotation coverage.

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?

A single short sentence with the target resource front-loaded and the precondition attached inline — no wasted wording. The trade-off is that brevity here comes at the cost of the missing parameter and failure-behavior detail noted above.

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 tool with no annotations, no output schema, and 0% schema description coverage, the definition supplies only the precondition. An agent still cannot tell what userId does, what a rejected delete returns, or whether the deletion can be undone — all of which it must know to call this correctly.

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%, so both parameters (id, userId) are undocumented in structured data, and the description does not explain either one. It is not obvious whether userId scopes the ownership check, the permission check, or something else — this gap should have been closed in the description.

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 names a specific verb and resource ("删除财务项目" = delete financial project), which cleanly separates it from the project_add/project_list/project_update siblings in the catalog. It is clear but does not explicitly contrast with siblings beyond the verb itself.

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 gives one concrete precondition for use — deletion is only permitted when no transactions reference the project — which is genuine usage context. It does not, however, point to an alternative action when the condition fails (e.g., how to find or reassign referencing transactions) or note any other prerequisites.

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