Skip to main content
Glama
MyLife Finance

MyLife Finance

by Zheny918

category_add

Add income or expense categories to organize transactions and budgets, with optional parent, icon, color, and user assignment.

Instructions

新增分类(INCOME/EXPENSE)。userId 可选。

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": {
      "name": "<name>",
      "type": "<type>"
    },
    "name": "category_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
iconNo
nameYes
typeYes
colorNo
userIdNo
parentIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not disclose whether the name must be unique, what happens on a duplicate name (notable given the category_duplicates and category_dedupe siblings), whether the operation is reversible, or what the response contains — only that type is constrained and userId is optional.

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?

Two short sentences with the core action and the type constraint front-loaded; there is no filler. The brevity is efficient but borders on under-specification rather than being genuinely tight prose.

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 6-parameter mutation tool with zero annotation coverage, no output schema, and 0% schema description coverage, the definition is far too thin. An agent could call it, but would be guessing about name uniqueness, parentId nesting, and the meaning of icon/color.

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% across 6 parameters, so the description must compensate and largely does not. It clarifies only type (INCOME/EXPENSE) and that userId is optional; name, icon, color, and parentId receive no semantic explanation, and notably parentId's role in creating a subcategory is never mentioned.

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 states a specific verb and resource (新增分类 / add category) and clarifies the allowed type values (INCOME/EXPENSE), which distinguishes it from read-oriented siblings such as category_list. It does not, however, contrast itself with the many other category-mutating siblings (category_update, category_merge, category_dedupe), so the differentiation is only partial.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance. The definition never says when an agent should create a category rather than update, merge, or dedupe one, and it gives no prerequisites or exclusions, leaving the choice entirely to inference from sibling names.

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