Skip to main content
Glama

finance

Debt Payments: Update debt-payment rule

update_debt_payment_rule
    Update the pattern or account pairing on an existing debt payment rule.

    Args:
        rule_id: ID of the rule to update
        description_pattern: New substring to match (optional, <=200 chars)
        source_account_id: New asset account (optional)
        debt_account_id: New debt account (optional)

    Returns:
        Updated rule details
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_idYes
debt_account_idNo
source_account_idNo
description_patternNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior2/5

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

Annotations show readOnlyHint=false, so the description carries the burden of explaining mutation behavior. It states that fields can be updated and that updated rule details are returned, but it does not disclose what happens when optional fields are omitted or set to null, whether a rule must exist first, or how partial updates behave. This is a meaningful gap for an update operation.

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 tightly structured with a clear one-sentence summary followed by an Args list and Returns line. There is no filler, and the most important information is front-loaded.

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?

The description is sufficient for a basic call, but it lacks context about null/omitted parameter semantics, whether at least one optional field is required for a meaningful update, and what the updated rule details contain. With no output schema, a bit more detail about the return value would improve completeness.

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

Parameters5/5

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

Schema description coverage is 0%, and the description compensates well by explaining all four parameters in plain language: rule_id identifies the rule, description_pattern is the new substring with a length constraint, and the two account IDs are labeled as new asset and debt accounts. It adds meaning and constraints not present in 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 uses a specific verb and resource: 'Update the pattern or account pairing on an existing debt payment rule.' It clearly identifies what is modified and can be distinguished from sibling tools like create_debt_payment_rule, delete_debt_payment_rule, and list_debt_payment_rules.

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?

The description implies usage: it is for modifying an existing debt-payment rule, as opposed to creating or deleting one. However, it does not explicitly state when to prefer this over alternatives or mention any preconditions or exclusions, leaving the usage context mostly implicit.

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