Skip to main content
Glama
MCP Actual

MCP Actual

by cubicecho

Create a category

create_category

Create a budget category inside an existing category group by providing a name and group ID. Use it to organize spending or income categories after listing or creating the group.

Instructions

Create a budget category inside an existing category group. Get the group id from list_category_groups, or create the group first with create_category_group. Income categories behave differently from spending ones — set isIncome only for money coming in.

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>",
      "groupId": "<groupId>"
    },
    "name": "create_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName for the new category.
hiddenNoCreate it hidden. Defaults to false.
groupIdYesId of the category group to create it in.
isIncomeNoTrue for an income category. Defaults to false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv1.0.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already disclose this is a non-read-only, non-destructive, non-idempotent, open-world write. The description adds useful context — the tool fails without a pre-existing group — but says nothing about duplicate-name handling, failure modes, or whether repeated calls create duplicates (relevant given idempotentHint=false).

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, front-loaded with the core action, then prerequisite routing, then the trickiest parameter caveat. No filler or repetition of schema text.

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 4-parameter mutation tool with no output schema, the description covers the main call-precondition and the parameter with semantic subtlety. It is nearly complete; only error/duplicate behavior is left unaddressed, which is minor against annotations that already state the safety profile.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds meaning by explaining how to source `groupId` and by giving a semantic rule for `isIncome` (only for money coming in) that goes beyond the schema's terse type note. It does not address `hidden`, but that parameter is already self-documenting.

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?

States a specific verb and resource ("Create a budget category") plus its container scope ("inside an existing category group"), which cleanly separates it from create_category_group and update_category. An agent can identify the operation without opening 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 Guidelines4/5

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

Gives explicit prerequisite routing: get the group id from `list_category_groups`, or create one with `create_category_group` first. It also explains the income-vs-spending distinction that governs `isIncome`. No explicit exclusion (e.g., use `update_category` for existing categories) is stated, keeping it just short of a 5.

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