Skip to main content
Glama

Dayze — Life Context

Log Transaction

log_transaction

Income/expense/transfer write. direction=from + type=income for Venmo/Stripe/refunds received. Positive amount; external_id dedupes imports. Optional project/tags. Zelle always USD. Optional mirror_event creates a calendar Money · annotation (ledger is still the source of truth for /money). IOU repayment ("Mark paid me back $200"): category "IOU repayment" + person_id — one call lowers the IOU and shows the money once (direction from = they paid the user, to = the user paid them). A cash loan ("I lent Mark $200"): category "IOU lend" + person_id — one call creates the IOU and shows the money once on that day (direction to = the user lent them, from = they lent the user); cash_moved: false for an owed share (IOU only). A plain income from a contact with an open IOU is refused unless not_iou_repayment: true; the same money as an already-recorded repayment or loan comes back as duplicate. ($0.10; API key required)

Input Schema

NameRequiredDescriptionDefault
dateNo
tagsNoOptional tags. Prefer project: / ext: / rail: grammar.
typeNo
notesNoFree text about the payment. Alias: description.
amountYes
sourceNo
projectNoVenture/project label → stored as project:{slug} tag (e.g. Max Soko poker venture)
categoryNoLedger category (e.g. Salary, Gift, Refund, Transfer in, Food & Dining). "IOU repayment" = a contact paying back a loan IOU; "IOU lend" = a cash loan; "Invoice payment" = collecting an unpaid invoice (need person_id).
currencyNo
iou_typeNoloan (default) or invoice. Invoice = unpaid receivable: no Finance outflow on create; payment is income "Invoice payment". Use for invoice/receivable phrasings; "I lent…" → loan.
merchantNo
directionYes
person_idNo
account_idNoStable provider account identity for imported payments.
cash_movedNoWith category "IOU lend": true (default) = cash changed hands as a loan (shows in Finance); false = an owed share, e.g. of a dinner logged as its own expense (IOU only). Ignored for iou_type invoice.
message_idNo
request_idNoClient idempotency key (retries return original result).
descriptionNoAlias for notes.
external_idNo
person_nameNoThe contact by name, when there is no person_id (IOU categories need one or the other).
client_labelNoOptional free-text client label for an invoice IOU.
mirror_eventNoAlso insert optional Money · calendar event (default false)
payment_methodNo
idempotency_keyNoAlias for request_id.
extractor_versionNo
not_iou_repaymentNotrue only when income from a contact with an open IOU is unrelated to it.

Output Schema

NameRequiredDescriptionDefault
typeNo
accountNoThe Dayze account this data belongs to. With more than one Dayze connection, name it in the answer.
messageNo
event_idNo
directionNo
duplicateNo
expense_idNo
provenanceNoWhich connector wrote the record and which connected Dayze account received it.
inspect_urlNoThe Dayze page that shows the saved record.
transactionNoExpense/income transaction row.
inspect_noteNoWhat inspect_url opens. Never quote the record id.
transaction_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / inspect_note
      Added value: +{
      +  "description": "What inspect_url opens. Never quote the record id.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / inspect_url
      Added value: +{
      +  "description": "The Dayze page that shows the saved record.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / account
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer.",
      +  "properties": {
      +    "display_name": {
      +      "description": "Account display name.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "handle": {
      +      "description": "Account handle, e.g. @goh.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "description": "How to disclose the account to the user.",
      +      "type": "string"
      +    },
      +    "qa_fixture": {
      +      "description": "True for a known QA test account: its records are fixture data, not a real life.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "handle",
      +    "display_name",
      +    "qa_fixture",
      +    "note"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / provenance
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Which connector wrote the record and which connected Dayze account received it.",
      +  "properties": {
      +    "account": {
      +      "additionalProperties": false,
      +      "description": "The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer.",
      +      "properties": {
      +        "display_name": {
      +          "description": "Account display name.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "handle": {
      +          "description": "Account handle, e.g. @goh.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "note": {
      +          "description": "How to disclose the account to the user.",
      +          "type": "string"
      +        },
      +        "qa_fixture": {
      +          "description": "True for a known QA test account: its records are fixture data, not a real life.",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "handle",
      +        "display_name",
      +        "qa_fixture",
      +        "note"
      +      ],
      +      "type": "object"
      +    },
      +    "channel": {
      +      "description": "Always mcp_connector.",
      +      "type": "string"
      +    },
      +    "connector": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "kind": {
      +          "description": "oauth or api_key.",
      +          "type": "string"
      +        },
      +        "name": {
      +          "description": "The connected app or API-key label shown to the account owner.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "kind",
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "source": {
      +      "description": "chatgpt for ChatGPT OAuth writes; mcp for another OAuth app or API key.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "source",
      +    "channel",
      +    "connector",
      +    "account"
      +  ],
      +  "type": "object"
      +}
  3. Changed4 schema fields changed
    • changedInput schema / properties / cash_moved / description
      Previous value: -"With category \"IOU lend\": true (default) = cash changed hands as a loan (shows in Finance); false = an owed share, e.g. of a dinner logged as its own expense (IOU only)."New value: +"With category \"IOU lend\": true (default) = cash changed hands as a loan (shows in Finance); false = an owed share, e.g. of a dinner logged as its own expense (IOU only). Ignored for iou_type invoice."
    • changedInput schema / properties / category / description
      Previous value: -"Ledger category (e.g. Salary, Gift, Refund, Transfer in, Food & Dining). \"IOU repayment\" = a contact paying back an IOU; \"IOU lend\" = a cash loan to or from a contact (both need person_id)."New value: +"Ledger category (e.g. Salary, Gift, Refund, Transfer in, Food & Dining). \"IOU repayment\" = a contact paying back a loan IOU; \"IOU lend\" = a cash loan; \"Invoice payment\" = collecting an unpaid invoice (need person_id)."
    • addedInput schema / properties / client_label
      Added value: +{
      +  "description": "Optional free-text client label for an invoice IOU.",
      +  "type": "string"
      +}
    • addedInput schema / properties / iou_type
      Added value: +{
      +  "description": "loan (default) or invoice. Invoice = unpaid receivable: no Finance outflow on create; payment is income \"Invoice payment\". Use for invoice/receivable phrasings; \"I lent…\" → loan.",
      +  "type": "string"
      +}
  4. Changed4 schema fields changed
    • changedInput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "Alias for notes.",
      +  "type": "string"
      +}
    • addedInput schema / properties / notes / description
      Added value: +"Free text about the payment. Alias: description."
    • addedInput schema / properties / person_name
      Added value: +{
      +  "description": "The contact by name, when there is no person_id (IOU categories need one or the other).",
      +  "type": "string"
      +}
  5. Changed2 schema fields changed
    • addedInput schema / properties / cash_moved
      Added value: +{
      +  "description": "With category \"IOU lend\": true (default) = cash changed hands as a loan (shows in Finance); false = an owed share, e.g. of a dinner logged as its own expense (IOU only).",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / category / description
      Previous value: -"Ledger category (e.g. Salary, Gift, Refund, Transfer in, Food & Dining). \"IOU repayment\" = a contact paying back an IOU (needs person_id)."New value: +"Ledger category (e.g. Salary, Gift, Refund, Transfer in, Food & Dining). \"IOU repayment\" = a contact paying back an IOU; \"IOU lend\" = a cash loan to or from a contact (both need person_id)."
  6. Changed2 schema fields changed
    • addedInput schema / properties / category
      Added value: +{
      +  "description": "Ledger category (e.g. Salary, Gift, Refund, Transfer in, Food & Dining). \"IOU repayment\" = a contact paying back an IOU (needs person_id).",
      +  "type": "string"
      +}
    • addedInput schema / properties / not_iou_repayment
      Added value: +{
      +  "description": "true only when income from a contact with an open IOU is unrelated to it.",
      +  "type": "boolean"
      +}
  7. Changed3 schema fields changed
    • addedInput schema / properties / account_id
      Added value: +{
      +  "description": "Stable provider account identity for imported payments.",
      +  "type": "string"
      +}
    • addedInput schema / properties / extractor_version
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / message_id
      Added value: +{
      +  "type": "string"
      +}
  8. Changed2 schema fields changed
    • addedInput schema / properties / mirror_event
      Added value: +{
      +  "description": "Also insert optional Money · calendar event (default false)",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / event_id
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  9. Changed2 schema fields changed
    • addedInput schema / properties / project
      Added value: +{
      +  "description": "Venture/project label → stored as project:{slug} tag (e.g. Max Soko poker venture)",
      +  "type": "string"
      +}
    • addedInput schema / properties / tags
      Added value: +{
      +  "description": "Optional tags. Prefer project: / ext: / rail: grammar.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  10. Changed1 schema field changed
    • addedInput schema / properties / payment_method
      Added value: +{
      +  "type": "string"
      +}
  11. Changed2 schema fields changed
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Alias for request_id.",
      +  "type": "string"
      +}
    • addedInput schema / properties / request_id
      Added value: +{
      +  "description": "Client idempotency key (retries return original result).",
      +  "type": "string"
      +}
  12. Changed3 schema fields changed
    • addedInput schema / properties / merchant
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / notes
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "amount"
      -]New value: +[
      +  "amount",
      +  "direction"
      +]
  13. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, but the description adds meaningful behavior beyond them: external_id/request_id dedup, refusal of a plain contact income with an open IOU, duplicate detection against recorded repayments/loans, the optional mirror_event calendar side effect, and the '$0.10; API key required' cost/auth note. This is substantial transparency for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Core purpose is front-loaded in the first clause, which is good, but the body is a single dense paragraph of stacked parentheticals and shorthand ('direction from = they paid the user, to = the user paid them') that is hard to scan. Most clauses earn their place given the tool's complexity, but the structure could be tightened.

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?

An output schema exists, so return values need not be explained, and annotations carry the safety profile; the description fills the load-bearing gaps (dedup, refusal, IOU flows, cost/auth). The one notable omission is any guidance on choosing this tool over the sibling log_income/log_expense.

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 description coverage is 54%, so the schema does part of the work, but the description adds real semantics for the hardest parameters: direction/type combinations, category 'IOU repayment'/'IOU lend' outcomes, cash_moved:false for owed shares, and the person_id/person_name requirement for IOU categories. Several params (merchant, source, message_id, extractor_version) remain undocumented in both, keeping this below 5.

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?

First clause 'Income/expense/transfer write' gives a specific verb (log/write) and resource (transaction) with the covered types enumerated. However, sibling tools log_income and log_expense overlap heavily with it and the description never distinguishes itself from them, so an agent cannot fully disambiguate from adjacent tools on this text alone.

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

Usage Guidelines4/5

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

Offers genuinely actionable when-to-use guidance for parameter combinations: 'direction=from + type=income for Venmo/Stripe/refunds received', IOU repayment vs cash-loan flows, and when not_iou_repayment is required. It lacks any explicit comparison to alternative tools (log_income, log_expense) but the conditional routing is far above minimum.

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.