Skip to main content
Glama
AdvancedExpenseTracker

AdvancedExpenseTracker

search_expenses

Find expenses by matching a text query against notes, categories, or tags to locate relevant transactions.

Instructions

Search expenses by matching text in notes, category, or tags.

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": {
      "query": "<query>"
    },
    "name": "search_expenses"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 disclosure burden and it falls short. It does reveal which fields are searched, but says nothing about match semantics (substring vs exact, case sensitivity, multi-term behavior) or result limiting, and never explicitly confirms this is a non-mutating read.

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 front-loaded sentence with zero filler; the searched fields are listed immediately after the core verb and resource.

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

Completeness3/5

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

An output schema exists so return values need not be described, and the tool is simple with one parameter. Still, for a search tool whose sibling list_expenses overlaps directly, the absence of selection guidance and match semantics leaves real gaps.

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

Parameters3/5

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

Schema coverage is 0%, so the only parameter 'query' is a bare string in the schema, and the description usefully explains it is text matched against notes, category, and tags. That is real compensation, but it omits matching rules and syntax, so the meaning of the query value is still not fully specified.

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?

States a specific verb (search) and resource (expenses) and names the fields matched against (notes, category, tags), which is more than a restatement of the name. It does not distinguish itself from the sibling list_expenses, so an agent cannot tell from the description alone which one to pick.

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?

Usage is only implied: 'search expenses by matching text' suggests this is the tool for finding expenses by keyword rather than enumerating them all. There is no explicit when-to-use/when-not, and the closely-related sibling list_expenses is never mentioned or contrasted.

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