Skip to main content
Glama
Swipe Smart MCP

Swipe Smart MCP

by afzalmukhtar

get_expense_logging_rules

Retrieve expense logging guidelines before adding a transaction, including required fields, valid categories, inference rules, and missing-information handling.

Instructions

**IMPORTANT: Call this tool BEFORE adding any expense.**

Returns the guidelines and rules for logging expenses, including:
- Required fields and their formats
- Valid categories
- Smart inference rules
- How to handle missing information

You MUST read these guidelines before calling `add_transaction`.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_expense_logging_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/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. It makes clear this is a parameterless read that returns prescriptive guidance rather than data, and it lists the content categories the agent will receive. It stops short of describing the return format or size, which is the only notable gap for a tool with zero annotations.

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?

The critical constraint is front-loaded in bold, followed by a scannable bullet list of returned content. There is mild redundancy between the opening imperative and the closing 'You MUST read these guidelines' sentence, but each still serves a slightly different purpose.

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 zero-parameter guidance tool with no output schema, the description is nearly sufficient: it tells the agent both when to call it and what it will learn. The only omission is any hint about the shape or length of the returned document, which a caller might want before committing a turn to it.

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?

The input schema has zero parameters, so description-level parameter explanation is not applicable and the baseline of 4 applies. Nothing in the description conflicts with the empty schema.

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 states a specific verb and resource ('Returns the guidelines and rules for logging expenses') and enumerates the returned content (required fields, valid categories, inference rules, missing-info handling). It is clearly distinguishable from sibling rule-fetchers such as get_card_rules by naming the expense-logging domain.

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

Usage Guidelines5/5

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

It gives an explicit precondition ('Call this tool BEFORE adding any expense') and names the exact tool that depends on it ('You MUST read these guidelines before calling add_transaction'). The when-to-use condition and the downstream alternative are both spelled out rather than implied.

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