Skip to main content
Glama

SmartAccounts MCP by usefulapi

Get a vendor's outstanding balance

smartaccounts_get_vendor_balance
Read-only

The outstanding balance owed to one vendor (purchasesales/vendors:getbalance), optionally on a past date and with the open documents. The vendor limit is 60 requests per minute and 1000 per 24 hours; every call here is one request.

Input Schema

NameRequiredDescriptionDefault
idYesThe vendor id (from smartaccounts_list_vendors).
balance_dateNoBalance on this date, yyyy-mm-dd (default today).
fetch_detailsNoInclude the documents that make up the balance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description goes further by disclosing concrete rate limits (60/min, 1000/24h) and clarifying that each call consumes one request, which is genuinely useful operational context. It stops short of describing the return payload beyond the optional document detail.

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 compact sentences with the core purpose front-loaded and the optional modifiers immediately after. The parenthetical API path and rate-limit clause are slightly incidental but still earn their place for an agent managing quotas.

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 read-only, three-parameter tool the definition covers scope, optionality, and quota behavior. With no output schema, a brief note on the returned balance shape would help, but the mention of 'open documents' via fetch_details gives the agent enough to call it correctly.

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 id, balance_date, and fetch_details. The description reframes the two optional parameters ('on a past date and with the open documents') but adds no format, default, or edge-case detail beyond what the schema states, so the baseline of 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+resource ('outstanding balance owed to one vendor') and scopes it to a single vendor, which cleanly separates it from the sibling smartaccounts_get_client_balance. The agent can identify the operation without opening the schema.

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?

Usage is implied by the resource and the optional date/documents framing, but there is no explicit when-to-use vs alternatives guidance (e.g., whether to prefer list_vendors first, or when a past-date balance is appropriate). No exclusions or prerequisites are stated.

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.