Skip to main content
Glama
oliverames

YNAB MCP Server

by oliverames

Get Payee Location

get_payee_location
Read-onlyIdempotent

Fetch a payee location record by its ID from YNAB, returning the payee details along with latitude and longitude for read-only use.

Instructions

Get one payee location record by its ID (payee, latitude, longitude). Read-only; requires a payee-location ID from list_payee_locations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
budgetIdNoBudget ID (uses default if not provided)
payeeLocationIdYesPayee location ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.4.0
    • removedOutput schema / properties / result / description
      Removed value: -"Structured result returned by Get Payee Location."
  2. Addedv5.2.0
  3. Removedv5.1.1
  4. First observedv2.0.0

TDQS

A4.2/5.0
Behavior4/5

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

The description explicitly states 'Read-only', which aligns with and reinforces the annotations (readOnlyHint=true, destructiveHint=false). It adds context about the required input source (from list_payee_locations), which is useful behavioral information beyond 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core function, includes the return fields, and notes the read-only nature. Every word earns its place with no redundancy.

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 simple single-record retrieval tool with an output schema present, the description is complete. It covers the input requirement, the read-only nature, and the return fields. The only minor gap is not describing error behavior (e.g., what happens if the ID doesn't exist), but that's not critical for a read-only getter.

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 description coverage is 100%, so the schema already documents both parameters. The description adds minimal parameter meaning beyond the schema, but it does clarify that payeeLocationId is the primary identifier and that budgetId is optional (uses default). This is baseline 3 territory.

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's function: 'Get one payee location record by its ID' with the specific fields (payee, latitude, longitude). It distinguishes itself from sibling tools like list_payee_locations and get_payee_locations_by_payee by specifying it retrieves a single record by ID.

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 explicitly states it requires a payee-location ID from list_payee_locations, providing clear context on when to use this tool. It doesn't explicitly exclude alternatives, but the single-record-by-ID scope is clear enough to differentiate from list operations.

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