Skip to main content
Glama

create_tracker_line

Add a line to a tracker: a named category set with its own optional limit. A transaction lands in at most one line — the first line by position whose category set (expanded to children) contains its category; spending matching no line counts as "other". Requires manage access to the tracker. Returns the created line with its ID, limit and categories.

Input Schema

NameRequiredDescriptionDefault
nameYesLine name
positionNo0-based order among the lines. Default: after the last line
trackerIdYesID of the tracker to add the line to
categoryIdsYesCategory IDs the line covers; parents expand to their children. Categories resolve against the tracker owner's tree.
limitAmountNoLine spending limit as a decimal amount in the tracker owner's base currency (e.g. 200.00). Omit or null for no limit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / categoryIds / description
      Previous value: -"Category IDs the line covers; parents expand to their children. On a category tracker they must be categories the tracker tracks. Categories resolve against the tracker owner's tree."New value: +"Category IDs the line covers; parents expand to their children. Categories resolve against the tracker owner's tree."
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the permission requirement, the first-match-by-position categorization rule, the 'other' fallback, and the return payload. It omits what happens to already-existing transactions when a new line is inserted earlier in the order, which is a meaningful behavioral gap for a mutation tool.

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?

Four tight sentences, front-loaded with the purpose, then matching semantics, then prerequisite, then return shape. Each sentence carries information; the only mild redundancy is restating child-category expansion that the schema also documents.

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 5-parameter create tool with no annotations and no output schema, the description covers purpose, prerequisite, matching behavior, and return value. The remaining gap is the side effect on existing transaction categorization, which an agent would otherwise have to guess.

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 baseline is 3, but the description adds real meaning: it explains that a line's category set expands to children and that position determines which line captures a transaction (first match wins). That priority semantics for 'position' goes beyond the schema's '0-based order among the lines'.

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 description opens with a specific verb+resource ('Add a line to a tracker') and immediately defines what a line is (a named category set with an optional limit), which is the domain concept an agent needs to distinguish this from update_tracker_line or create_tracker. Sibling names aren't cited, but the add-vs-update distinction is 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 gives a clear precondition ('Requires manage access to the tracker') and explains the matching semantics that motivate creating a line, but it never explicitly says when to use this instead of update_tracker_line or how it relates to add_transactions_to_tracker. Context is clear; exclusions are absent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.