Skip to main content
Glama
laf-rge

QuickBooks MCP

by laf-rge

edit_vendor_credit

Modify an existing vendor credit by updating vendor, date, memo, reference number, and line items. Add, update, or delete lines with account and amount.

Instructions

Modify an existing vendor credit. Can update vendor, date, memo, ref number, and/or lines. For lines: provide line_id to update existing line, omit line_id to add new line (requires amount and account_name), set delete=true to remove. Note: DepartmentRef is header-level only — lines do not support department.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesVendor Credit ID to edit
vendor_nameNoNew vendor display name (auto-resolved to ID)
txn_dateNoNew transaction date in YYYY-MM-DD format (optional)
memoNoNew private memo (optional)
doc_numberNoNew reference number (optional)
linesNoLine modifications. Provide line_id to update existing line, omit to add new line.
draftNoIf true, validate and show preview without saving (default: true)
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses behaviors: lines can be added, updated, or deleted via specific fields; DepartmentRef is header-level only. It does not mention permissions or return values, but covers key behavioral aspects well.

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 concise with four sentences. It starts with the core purpose, then lists updatable fields, details line rules, and adds a constraint note. No redundant words; each sentence adds necessary information.

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 mutation tool with 7 params and no output schema, the description explains input behavior well. It covers line item operations and a key constraint. Missing response details (e.g., success confirmation or updated object) but otherwise complete given the QBO context and sibling tools.

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

Parameters4/5

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

Schema coverage is 100% with descriptions. The description adds value beyond schema by providing line manipulation rules (requires amount and account_name for new lines, delete=true for removal) and a note about DepartmentRef constraint, which is not 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 clearly states the action ('Modify an existing vendor credit') and the resource ('vendor credit'). It lists specific updatable fields (vendor, date, memo, ref number, and/or lines), distinguishing it from siblings like create_vendor_credit or get_vendor_credit.

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 (modify existing) but lacks explicit when-to-use or when-not-to-use guidance. It does not contrast with alternatives like create_vendor_credit or other edit tools, though it provides specific line manipulation rules.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/laf-rge/quickbooks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server