Skip to main content
Glama

billy_raw_request

Destructive

Make raw API requests to any Billy v2 endpoint not covered by dedicated tools. Supports GET, POST, PUT, DELETE. Caution: write operations affect accounting records.

Instructions

Escape hatch: call any Billy API v2 endpoint not covered by a dedicated tool. Examples: GET /currencies, /countries, /taxRates, /salesTaxReturns, /invoiceReminders, /files, /bankLines, /postings, /users. Write requests must wrap the body in a singular resource key, e.g. { "daybookTransaction": {...} }. WARNING: POST/PUT/DELETE have real accounting effects — prefer dedicated tools when available. Non-GET methods require BILLY_WRITE_MODE=confirm (user approval) or full; in read-only mode only GET is allowed. CAUTION: Billy SILENTLY IGNORES undocumented query params (no error, just unfiltered results) — cross-check filters against docs/billy-api.md before relying on them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT, wrapped in the singular resource key
pathYesEndpoint path relative to /v2, e.g. '/currencies' or '/invoices/abc123'
queryNoQuery parameters, e.g. { "organizationId": "...", "page": "2" }
methodNoHTTP methodGET
maxCharsNoTruncate response JSON at this many characters (default 20000). Full data never exceeds this — narrow your query or use paging for more.
Behavior5/5

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

Goes beyond annotations (destructiveHint=true) by detailing the real accounting effects, the need for BILLY_WRITE_MODE for non-GET methods, and the silent ignoring of undocumented query params—critical behavioral context not captured in annotations.

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 relatively long but well-structured with clear warnings and examples. It front-loads the main purpose and uses concise language. Minor opportunity to trim redundant cautions, but overall effective.

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

Completeness5/5

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

For a raw request tool with no output schema, the description covers all necessary aspects: how to construct requests, handling of body, query, path, method, and response truncation. It also warns about silent failures and write mode constraints, making it fully self-contained.

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%, but the description adds significant clarity: explains the singular resource key wrapping for body, the path format, query parameter usage, method enum defaults, and the maxChars truncation behavior. This adds value beyond the schema's descriptions.

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 identifies the tool as an 'escape hatch' for Billy API v2 endpoints not covered by dedicated tools, providing specific examples (GET /currencies, /countries, etc.). It distinguishes itself from sibling tools which are all dedicated endpoints.

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 states when to use (uncovered endpoints), when not to (prefer dedicated tools), and provides critical usage constraints: write mode requirements, silent ignoring of query params, and real accounting effects of POST/PUT/DELETE.

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/Thourum/billy-mcp'

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