Skip to main content
Glama

Gig ledger

get_event_ledger
Read-onlyIdempotent

See the money on a gig: its ledger of payables, receivables, income and expenses, each with type, status, amount and counterparty. Read-only. Visibility is scoped server-side: regular members see only items involving them; org admins/owners see the full ledger. Each item also has paid_amount, remaining_amount and payment_status: status stays UNPAID until a line is fully paid, so read payment_status (partial when some is paid) and remaining_amount for a partly paid line. Use an item's id with record_ledger_payment to log a payment made outside Soundcheck, or reverse_ledger_payment to undo one. settlement says whether the gig is ready to settle: settled, unsettled_count and unsettled_item_ids (or an error when you cannot read it). Call it before settle_event.

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": {
      "event_id": "<event_id>"
    },
    "name": "get_event_ledger"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesthe gig whose financial ledger to read, an id from list_events, open_gigs or my_agenda

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNotool payload (API/composite/confirmation object); object, array, or primitive JSON
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / event_id / description
      Previous value: -"the event whose financial ledger to read"New value: +"the gig whose financial ledger to read, an id from list_events, open_gigs or my_agenda"
    • addedInput schema / properties / event_id / minLength
      Added value: +1
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "tool payload (API/composite/confirmation object); object, array, or primitive JSON"
      +    },
      +    "error": {
      +      "description": "when ok is false",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "true on success (including confirmation_required prompts)",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), it discloses server-side visibility scoping, the meaning of paid_amount/remaining_amount, the rule that status stays UNPAID until a line is fully paid, and that payment_status is 'partial' when partly paid. It also documents the settlement block and its error case, which annotations cannot convey.

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 content is front-loaded with what the ledger contains and then moves to semantics, mutations, and settlement. It is dense but every clause carries information; the payment_status sentence is slightly convoluted and could be tightened.

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 single-parameter read tool with an output schema and full annotation coverage, the description covers scope, field semantics, edge cases (partial payment, unreadable settlement) and the follow-up tools. Nothing an agent needs to call it correctly is missing.

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?

There is only one parameter and schema coverage is 100%, with the schema already explaining that event_id comes from list_events, open_gigs or my_agenda. The description adds no extra meaning about event_id itself, so the baseline 3 applies.

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 opens with a specific verb and resource ('See the money on a gig: its ledger of payables, receivables, income and expenses') and enumerates the fields returned, so an agent knows exactly what it gets. It is clearly distinguished from siblings that mutate the ledger (record_ledger_payment, reverse_ledger_payment) and from settle_event.

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?

It gives explicit routing: use the returned item id with record_ledger_payment or reverse_ledger_payment, and 'Call it before settle_event'. It also states the access scope (members see only their items, admins/owners see everything), which tells the agent what to expect rather than leaving it to inference.

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.