Skip to main content
Glama
Setell-AI

Setell

Official
by Setell-AI

Create an invoice

setell_create_invoice
Idempotent

Create an invoice for an accepted job in QuickBooks or Xero. Requires explicit confirmation from operator.

Instructions

Create an invoice for an accepted/signed job in the operator's connected accounting system (QuickBooks precedence over Xero). Safe to retry — a job only ever gets one invoice. May return CONTRACT_REQUIRED, NO_ACCOUNTING_CONNECTED, or a QuickBooks reconnect/duplicate-customer error — relay plainly with the fix. State the job and amount, get an explicit yes, then call with confirmed: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdYesThe accepted/signed job to invoice.
confirmedYesMust be true, only after the operator explicitly confirmed.
Behavior4/5

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

Annotations give idempotentHint=true; description reinforces that a job gets only one invoice and is safe to retry, adding error return types and actionable fixes. No contradiction, and adds value beyond annotations with error behavior.

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?

The description is a single dense paragraph that efficiently covers purpose, usage, retry safety, and errors. It is front-loaded with the core action and maintains focus, though slightly packed.

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?

Given no output schema, the description covers key constraints (one invoice per job, accounting preference), error types, and preconditions. Missing success return value description but adequate for confident use.

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 descriptions cover both parameters (jobId and confirmed) with 100% coverage. The description adds conversational flow: mention job and amount, then set confirmed=true only after explicit confirmation, which is helpful context not in 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 tool creates an invoice for accepted/signed jobs, specifies which accounting systems (QuickBooks over Xero), and distinguishes from sibling tools like setell_mark_paid_offline by focusing on creating rather than marking paid.

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

Usage Guidelines5/5

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

Explicitly tells the agent to first state job and amount, get explicit yes, then call with confirmed: true. It also notes safety to retry and lists expected error types with handling instructions, ensuring proper usage context.

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/Setell-AI/setell-mcp'

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