Skip to main content
Glama

Gig deal

get_deal
Read-onlyIdempotent

Read a gig's deal terms: deal_type (FLAT_GUARANTEE, VERSUS, DOOR_SPLIT, GUARANTEE_PLUS_BONUS), org_side (SELLER when the org is paid, BUYER when it pays the act), the counterparty, guarantee, contract and deposit amounts and dates, installments, split percent and basis, bonus tiers, addendum lines and overtime rates. A gig with no terms yet returns empty terms in the gig's currency. Changing terms stays in the web app. For the settlement worksheet use get_settlement. Needs permission to edit the gig's finances. Money fields are decimals.

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_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesthe gig (event) id, from list_events, open_gigs or my_agenda
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { event_id, organization_id, deal_type, org_side, counterparty_contact_id, counterparty_name, guarantee, contract_number, original_price, contract_price, deposit_amount, deposit_split, deposit_due_on, second_deposit_due_on, balance_due_days_before, installments [], split_percent, split_basis, bonus_tiers [], addendum_lines [], overtime_rate_per_half_hour, musician_overtime_rate_per_half_hour, currency, contract_sent_on, signed_on, updated_at } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still adds behavior beyond them: the empty-terms case for gigs without terms, that values come back in the gig's currency, that money fields are decimals, and the permission requirement. It also makes clear this is read-only by pointing edits to the web app.

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?

Front-loaded with the resource and its field inventory, then closes with the routing and permission constraints in short sentences. The long parenthetical field enumeration is dense but each item maps to actual content returned; minor trimming of the enum lists would make it tighter.

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?

An output schema exists, so return formatting need not be explained, yet the description still covers the edge case of empty terms and currency semantics. With permissions, exclusions, and the get_settlement alternative all stated, an agent has everything needed to call it correctly.

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 coverage is 100% and both parameters are documented in the schema itself, including where event_id comes from (list_events, open_gigs, my_agenda) and the default active-organization behavior. The description adds no parameter-level detail beyond that, so 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?

Opens with a specific verb+resource ("Read a gig's deal terms") and then enumerates the exact fields returned, including the deal_type and org_side enums, so an agent knows precisely what this tool surfaces. It also names the sibling it is not (get_settlement) and separates reading terms from changing them.

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 routes the agent away from this tool twice: changing terms belongs in the web app, and the settlement worksheet belongs to get_settlement. It also states the prerequisite ("Needs permission to edit the gig's finances"), which is a real gate an agent must check before calling.

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.