Skip to main content
Glama
MCP Actual

MCP Actual

by cubicecho

Create a payee

create_payee

Create a payee by name and return its new ID, after checking resolve_name_to_id to avoid duplicate payees caused by slightly different names.

Instructions

Create a payee by name and return it with its new id. Check resolve_name_to_id first — creating a payee that already exists under a slightly different name is how duplicates appear in the first place.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameYesName for the new payee.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv1.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the write semantics (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the bar is lower. The description adds genuinely useful behavior beyond them: that a new id is returned and that duplicate payees are the primary failure mode of careless use. It does not say whether an exact-name duplicate is rejected or silently created.

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, zero filler, and the core action is front-loaded ahead of the prerequisite advice. Every clause earns its place by either stating the effect or preventing a known misuse.

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 one-parameter creation tool with no output schema, the description covers the action, the return value, and the main pitfall, which is enough to call it correctly. The only real omission is what happens on a duplicate-name attempt (hard error vs. new record), which would change how an agent sequences retries.

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?

There is a single parameter with 100% schema description coverage, so the schema already documents `name` with its minLength constraint. The description reinforces that the name is the sole input but adds no naming conventions, trimming rules, or format expectations beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ("Create a payee") plus the return behavior ("return it with its new id"), which is more than the title restates. The resource noun cleanly separates it from the other create_* siblings (create_rule, create_category, create_category_group).

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?

Explicitly names the alternative to run first (`resolve_name_to_id`) and gives the reason, which is strong when-to-use guidance. It does not mention `find_duplicate_payees` or `merge_payees`, which are the more directly relevant dedup siblings, so the routing picture is slightly incomplete.

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