Skip to main content
Glama

Recent expenses

list_recent_expenses
Read-only

List the most recent expenses, newest first, optionally filtered by category. Answers "what are my latest expenses?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many to return (default 10, max 50).
categoryNoOptional category name to filter to.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "properties": {
      +          "amount": {
      +            "type": "number"
      +          },
      +          "category": {
      +            "type": "string"
      +          },
      +          "date": {
      +            "type": "string"
      +          },
      +          "notes": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "paymentMethod": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "vendor": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "date",
      +          "vendor",
      +          "amount",
      +          "category",
      +          "notes",
      +          "paymentMethod"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "items"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description's addition of ordering and filtering behavior adds moderate value. No other behavioral traits (like pagination limits beyond max) are disclosed.

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?

Two sentences, front-loaded with the main action, no fluff. Every word earns its place.

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 simple list tool with 2 optional params, output schema exists, and annotations cover safety, the description is sufficient to understand purpose and basic usage. Could mention that it's read-only, but annotations already do that.

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 description coverage is 100%, so the description adds no new parameter information beyond what the schema already provides. It merely restates the optional category filter.

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 uses specific verb 'list' and resource 'recent expenses' with ordering 'newest first' and optional filtering. It clearly distinguishes from siblings like list_recent_invoices by naming the resource and explicitly answers the user's question.

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?

The description implies use for retrieving latest expenses with optional category filter and mentions the question it answers. It does not explicitly state when not to use or suggest alternatives, but the context is clear given sibling tools.

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.

Resources