Skip to main content
Glama
oyemecarnal

monarch-mcp-ultimate

by oyemecarnal

get_rule_candidates

Analyze recent transactions to identify merchants with consistent category patterns and propose new transaction rules, including confidence scores and transaction counts.

Instructions

Analyze recent transactions and suggest new rules for merchants with a consistent category pattern. Returns merchant pattern, suggested category, confidence score, and transaction count. High-value input for create_transaction_rule.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lookback_daysNoDays of history to analyze (default 90)
min_confidenceNoMinimum confidence 0-1 to include in results (default 0.7)
min_transactionsNoMinimum transaction count to suggest a rule (default 3)
exclude_existing_rulesNoSkip merchants that already have a rule (default true)
Behavior4/5

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

Since no annotations are provided, the description carries the burden of showing behavior. It correctly implies a read-only, analytical nature by saying 'suggest new rules' and 'input for create_transaction_rule' (not the rule creation itself). It also discloses the return structure. It could add more detail on defaults or exclusions, but the schema covers some of that.

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?

The description is two concise sentences: purpose, output fields, and usage hint. Every sentence carries functional value, with no wasted words.

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 tool with no output schema and no annotations, the description adequately conveys purpose, output shape, and workflow. It could mention default exclusions or lookback behavior, but the schema handles that. The description is overall sufficient for an agent to select and invoke the tool.

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 100% with detailed descriptions for all four parameters, so the baseline is 3. The description adds thematic context ('recent transactions', 'consistent category pattern') that aligns with lookback_days, min_confidence, and min_transactions, but it does not add specific parameter meaning beyond the 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 clearly states the tool analyzes recent transactions and suggests new rules for merchants with consistent category patterns. It specifies the output fields (merchant pattern, suggested category, confidence score, transaction count) and distinguishes itself from siblings like get_transaction_rules by focusing on rule candidates rather than existing rules.

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 provides a clear usage context by labeling the output as 'High-value input for create_transaction_rule', implying it is used before creating a rule. However, it does not explicitly mention alternative tools or when not to use it, such as comparisons with get_categorization_suggestions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oyemecarnal/monarch-mcp-ultimate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server