Skip to main content
Glama

Lovie Company Formation

List Rule Suggestions

transaction_get_list_rule_suggestions
Read-only

List merchants the company keeps giving the same Category by hand, each proposed as a categorization rule: the merchant, the Category, how many times it was given that Category, how many exceptions there were, and how many transactions are still waiting that a live rule would book. Merchants already covered by a rule, split between Categories, or declined are left out. Read-only; transaction_accept_rule_suggestion saves one as a draft rule that books nothing until a person approves it.

Input Schema

NameRequiredDescriptionDefault
limitNo
companyIdYesUUID value wrapper.

Output Schema

NameRequiredDescriptionDefault
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / suggestions / items / properties / category
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "key": {
      +          "anyOf": [
      +            {
      +              "description": "Lowercase kebab-case code identifier.",
      +              "properties": {
      +                "value": {
      +                  "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "ownerKey": {
      +          "type": "string"
      +        },
      +        "ownerType": {
      +          "enum": [
      +            "OWNER_TYPE_UNSPECIFIED",
      +            "OWNER_TYPE_SYSTEM",
      +            "OWNER_TYPE_COMPANY",
      +            "OWNER_TYPE_INTEGRATION"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "key"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • removedOutput schema / properties / suggestions / items / properties / glAccountPath
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / suggestions / items / properties / otherAccountCount
      Removed value: -{
      -  "type": "integer"
      -}
    • addedOutput schema / properties / suggestions / items / properties / otherCategoryCount
      Added value: +{
      +  "type": "integer"
      +}
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint=false, yet the description adds real context: the 'live rule would book' count, the exclusion logic, and the fact that accepting produces a draft that books nothing until human approval. That downstream consequence is information an agent cannot get from the 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?

Two sentences, front-loaded with the core purpose, and the field enumeration and exclusions are packed efficiently. The single long listing sentence is dense but every element is useful.

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?

An output schema exists, so return shape need not be explained, and the safety profile is strong. The remaining gap is parameter guidance (limit, companyId), which leaves an agent guessing about pagination.

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

Parameters2/5

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

With only 50% schema coverage, the description needs to compensate but does not mention either parameter. The companyId schema text is boilerplate ('UUID value wrapper.') and limit (0-20) is completely undocumented, so the agent gets no guidance on scoping or page size.

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?

Names a specific verb (list) and a precisely characterized resource: merchants repeatedly hand-categorized that are candidates for a rule. It even enumerates the fields each suggestion carries, so an agent knows exactly what comes back.

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?

Gives explicit exclusion criteria (already-covered, split-across-categories, and declined merchants are omitted) and names the follow-up tool transaction_accept_rule_suggestion with the caveat that it only drafts a rule. It does not, however, contrast this with the many nearby siblings such as transaction_get_list_rule_proposals or transaction_get_list_rule_gap_observations.

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.