Skip to main content
Glama

approve_invoice

Approve a pending invoice for payment in Deel's system.

Instructions

Approve a pending invoice for payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNoApproval notes
invoice_idYesThe invoice ID to approve

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Only a title annotation is present, so the description carries the full behavioral burden. The word 'pending' hints at a state precondition, but nothing is said about whether approval is irreversible, whether it immediately initiates payment, what permissions are required, or what happens to an already-approved invoice.

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?

A single nine-word sentence with the action and the state constraint front-loaded. Nothing is padded and there is no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a state-changing approval tool with no output schema and no safety annotations, the description omits the consequences of approval, side effects on payment schedules, error behavior, and its relationship to the sibling decline/get/list invoice tools. An agent could invoke it correctly but not predict the outcome.

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% and both parameters (invoice_id, notes) are documented in the schema, so the baseline of 3 applies. The description adds no additional meaning about the required invoice_id or the optional notes beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (approve) and resource (invoice) with the state qualifier 'pending', so the agent knows it acts on an existing unapproved invoice rather than creating one. It does not explicitly distinguish itself from the sibling decline_invoice or from approve_off_cycle_payment/approve_expense, leaving that differentiation to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus decline_invoice, approve_off_cycle_payment, or the generic payment tools. There is no mention of prerequisites such as the invoice needing to be in a reviewable state, nor any exclusion conditions.

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