Skip to main content
Glama

Simple Jacks California Software Tax

audit_vendor_invoice

Read-onlyIdempotent

Audit invoices against a saved vendor or binder record. Returns billing differences, draft dispute correspondence and a quarterly accrual CSV. Preserve the provenance of the rate used.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "vendor": "<vendor>",
      "invoices": "<invoices>"
    },
    "name": "audit_vendor_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
detailNosummary
vendorYes
invoicesYes
clientNameNo
contentPageNo
document_textNo
ruleVersionIdNo

Output Schema

NameRequiredDescriptionDefault
resultYes
statusYes
summaryYes
citationsYes
law_as_ofYes
disclaimerYes
assumptionsYes
outcome_kindYes
missing_factsYes
detail_availableYes
rule_set_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context by naming the three artifacts produced (billing differences, draft dispute correspondence, quarterly accrual CSV) and the instruction to preserve rate provenance, but says nothing about auth needs, rate limits, or how rule-version selection changes the audit.

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?

Three tight sentences with the core action front-loaded and the outputs enumerated second. No filler, though the final sentence about rate provenance is a directive rather than a description and sits slightly awkwardly.

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?

This is a high-complexity tool with 8 parameters, deeply nested objects, three selectable rule versions, and pagination via contentPage. An output schema and annotations reduce the burden, but the description leaves the agent without guidance on rule version selection, detail mode, or how to supply invoices versus a vendor record — the very choices most likely to cause a misinvocation.

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

Parameters2/5

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

Schema description coverage is 0% across 8 parameters, including nested Invoice and VendorRecord objects and an important ruleVersionId enum with three SB122 variants. The description only loosely gestures at the vendor record and the rate field ('preserve the provenance of the rate used'); it never explains detail level, contentPage paging, document_text, or which rule version to pick.

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?

The description uses a specific verb and resource ('Audit invoices') and names the reference data it audits against ('a saved vendor or binder record'). It clearly separates this from pure review or reconciliation siblings, though it never explicitly names reconcile_binder or review_software_bill as the alternative paths.

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?

The phrase 'against a saved vendor or binder record' implies a prerequisite (a record must already exist), but there is no explicit when-to-use, when-not-to-use, or alternative-tool routing. An agent must infer from sibling names alone whether this or reconcile_binder is the right call.

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.

Resources