Skip to main content
Glama

Lovie Company Formation

Get Journal Entry By Transaction

accounting_get_journal_entry_by_transaction
Read-only

GetJournalEntryByTransaction returns the journal entry derived for one transaction (empty when none exists yet). Read-only.

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": {
      "transactionId": "<transactionId>",
      "companyId": "<companyId>"
    },
    "name": "accounting_get_journal_entry_by_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyIdYesUUID value wrapper.
transactionIdYesUUID value wrapper.

Output Schema

NameRequiredDescriptionDefault
entryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / entry / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "companyId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "createdAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "currencyCode": {
      -        "type": "string"
      -      },
      -      "entryDate": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "lines": {
      -        "items": {
      -          "properties": {
      -            "accountCode": {
      -              "type": "string"
      -            },
      -            "accountName": {
      -              "type": "string"
      -            },
      -            "amount": {
      -              "type": "string"
      -            },
      -            "glAccountId": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "id": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "lineNo": {
      -              "type": "integer"
      -            },
      -            "memo": {
      -              "type": "string"
      -            },
      -            "side": {
      -              "enum": [
      -                "JOURNAL_ENTRY_SIDE_UNSPECIFIED",
      -                "JOURNAL_ENTRY_SIDE_DEBIT",
      -                "JOURNAL_ENTRY_SIDE_CREDIT"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "memo": {
      -        "type": "string"
      -      },
      -      "needsReview": {
      -        "type": "boolean"
      -      },
      -      "needsReviewReason": {
      -        "enum": [
      -          "NEEDS_REVIEW_REASON_UNSPECIFIED",
      -          "NEEDS_REVIEW_REASON_UNCATEGORIZED",
      -          "NEEDS_REVIEW_REASON_REVERSED",
      -          "NEEDS_REVIEW_REASON_UNMAPPED_LEGACY",
      -          "NEEDS_REVIEW_REASON_OUT_OF_PERIOD"
      -        ],
      -        "type": "string"
      -      },
      -      "originalEntryDate": {
      -        "type": "string"
      -      },
      -      "outOfPeriod": {
      -        "type": "boolean"
      -      },
      -      "reference": {
      -        "type": "string"
      -      },
      -      "source": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "JOURNAL_ENTRY_STATUS_UNSPECIFIED",
      -          "JOURNAL_ENTRY_STATUS_DRAFT",
      -          "JOURNAL_ENTRY_STATUS_POSTED",
      -          "JOURNAL_ENTRY_STATUS_VOID"
      -        ],
      -        "type": "string"
      -      },
      -      "transactionId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "updatedAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "companyId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdBy": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "currencyCode": {
      +        "type": "string"
      +      },
      +      "entryDate": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "lines": {
      +        "items": {
      +          "properties": {
      +            "accountCode": {
      +              "type": "string"
      +            },
      +            "accountName": {
      +              "type": "string"
      +            },
      +            "amount": {
      +              "type": "string"
      +            },
      +            "glAccountId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "id": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "lineNo": {
      +              "type": "integer"
      +            },
      +            "memo": {
      +              "type": "string"
      +            },
      +            "side": {
      +              "enum": [
      +                "JOURNAL_ENTRY_SIDE_UNSPECIFIED",
      +                "JOURNAL_ENTRY_SIDE_DEBIT",
      +                "JOURNAL_ENTRY_SIDE_CREDIT"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "memo": {
      +        "type": "string"
      +      },
      +      "needsReview": {
      +        "type": "boolean"
      +      },
      +      "needsReviewReason": {
      +        "enum": [
      +          "NEEDS_REVIEW_REASON_UNSPECIFIED",
      +          "NEEDS_REVIEW_REASON_UNCATEGORIZED",
      +          "NEEDS_REVIEW_REASON_REVERSED",
      +          "NEEDS_REVIEW_REASON_UNMAPPED_LEGACY",
      +          "NEEDS_REVIEW_REASON_OUT_OF_PERIOD"
      +        ],
      +        "type": "string"
      +      },
      +      "originalEntryDate": {
      +        "type": "string"
      +      },
      +      "outOfPeriod": {
      +        "type": "boolean"
      +      },
      +      "reference": {
      +        "type": "string"
      +      },
      +      "source": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "JOURNAL_ENTRY_STATUS_UNSPECIFIED",
      +          "JOURNAL_ENTRY_STATUS_DRAFT",
      +          "JOURNAL_ENTRY_STATUS_POSTED",
      +          "JOURNAL_ENTRY_STATUS_VOID"
      +        ],
      +        "type": "string"
      +      },
      +      "transactionId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "companyId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / entry / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "companyId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "createdAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "currencyCode": {
      -        "type": "string"
      -      },
      -      "entryDate": {
      -        "type": "string"
      -      },
      -      "id": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "lines": {
      -        "items": {
      -          "properties": {
      -            "accountCode": {
      -              "type": "string"
      -            },
      -            "accountName": {
      -              "type": "string"
      -            },
      -            "amount": {
      -              "type": "string"
      -            },
      -            "glAccountId": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "id": {
      -              "anyOf": [
      -                {
      -                  "description": "UUID value wrapper.",
      -                  "properties": {
      -                    "value": {
      -                      "format": "uuid",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "lineNo": {
      -              "type": "integer"
      -            },
      -            "memo": {
      -              "type": "string"
      -            },
      -            "side": {
      -              "enum": [
      -                "JOURNAL_ENTRY_SIDE_UNSPECIFIED",
      -                "JOURNAL_ENTRY_SIDE_DEBIT",
      -                "JOURNAL_ENTRY_SIDE_CREDIT"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "memo": {
      -        "type": "string"
      -      },
      -      "needsReview": {
      -        "type": "boolean"
      -      },
      -      "needsReviewReason": {
      -        "enum": [
      -          "NEEDS_REVIEW_REASON_UNSPECIFIED",
      -          "NEEDS_REVIEW_REASON_UNCATEGORIZED",
      -          "NEEDS_REVIEW_REASON_REVERSED",
      -          "NEEDS_REVIEW_REASON_UNMAPPED_LEGACY"
      -        ],
      -        "type": "string"
      -      },
      -      "reference": {
      -        "type": "string"
      -      },
      -      "source": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "JOURNAL_ENTRY_STATUS_UNSPECIFIED",
      -          "JOURNAL_ENTRY_STATUS_DRAFT",
      -          "JOURNAL_ENTRY_STATUS_POSTED",
      -          "JOURNAL_ENTRY_STATUS_VOID"
      -        ],
      -        "type": "string"
      -      },
      -      "transactionId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID value wrapper.",
      -            "properties": {
      -              "value": {
      -                "format": "uuid",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "updatedAt": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "companyId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "currencyCode": {
      +        "type": "string"
      +      },
      +      "entryDate": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "lines": {
      +        "items": {
      +          "properties": {
      +            "accountCode": {
      +              "type": "string"
      +            },
      +            "accountName": {
      +              "type": "string"
      +            },
      +            "amount": {
      +              "type": "string"
      +            },
      +            "glAccountId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "id": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "lineNo": {
      +              "type": "integer"
      +            },
      +            "memo": {
      +              "type": "string"
      +            },
      +            "side": {
      +              "enum": [
      +                "JOURNAL_ENTRY_SIDE_UNSPECIFIED",
      +                "JOURNAL_ENTRY_SIDE_DEBIT",
      +                "JOURNAL_ENTRY_SIDE_CREDIT"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "memo": {
      +        "type": "string"
      +      },
      +      "needsReview": {
      +        "type": "boolean"
      +      },
      +      "needsReviewReason": {
      +        "enum": [
      +          "NEEDS_REVIEW_REASON_UNSPECIFIED",
      +          "NEEDS_REVIEW_REASON_UNCATEGORIZED",
      +          "NEEDS_REVIEW_REASON_REVERSED",
      +          "NEEDS_REVIEW_REASON_UNMAPPED_LEGACY",
      +          "NEEDS_REVIEW_REASON_OUT_OF_PERIOD"
      +        ],
      +        "type": "string"
      +      },
      +      "originalEntryDate": {
      +        "type": "string"
      +      },
      +      "outOfPeriod": {
      +        "type": "boolean"
      +      },
      +      "reference": {
      +        "type": "string"
      +      },
      +      "source": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "JOURNAL_ENTRY_STATUS_UNSPECIFIED",
      +          "JOURNAL_ENTRY_STATUS_DRAFT",
      +          "JOURNAL_ENTRY_STATUS_POSTED",
      +          "JOURNAL_ENTRY_STATUS_VOID"
      +        ],
      +        "type": "string"
      +      },
      +      "transactionId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "companyId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed4 schema fields changed
    • addedOutput schema / properties / entry / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "companyId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "createdAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "currencyCode": {
      +        "type": "string"
      +      },
      +      "entryDate": {
      +        "type": "string"
      +      },
      +      "id": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "lines": {
      +        "items": {
      +          "properties": {
      +            "accountCode": {
      +              "type": "string"
      +            },
      +            "accountName": {
      +              "type": "string"
      +            },
      +            "amount": {
      +              "type": "string"
      +            },
      +            "glAccountId": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "id": {
      +              "anyOf": [
      +                {
      +                  "description": "UUID value wrapper.",
      +                  "properties": {
      +                    "value": {
      +                      "format": "uuid",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "lineNo": {
      +              "type": "integer"
      +            },
      +            "memo": {
      +              "type": "string"
      +            },
      +            "side": {
      +              "enum": [
      +                "JOURNAL_ENTRY_SIDE_UNSPECIFIED",
      +                "JOURNAL_ENTRY_SIDE_DEBIT",
      +                "JOURNAL_ENTRY_SIDE_CREDIT"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "memo": {
      +        "type": "string"
      +      },
      +      "needsReview": {
      +        "type": "boolean"
      +      },
      +      "needsReviewReason": {
      +        "enum": [
      +          "NEEDS_REVIEW_REASON_UNSPECIFIED",
      +          "NEEDS_REVIEW_REASON_UNCATEGORIZED",
      +          "NEEDS_REVIEW_REASON_REVERSED",
      +          "NEEDS_REVIEW_REASON_UNMAPPED_LEGACY"
      +        ],
      +        "type": "string"
      +      },
      +      "reference": {
      +        "type": "string"
      +      },
      +      "source": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "JOURNAL_ENTRY_STATUS_UNSPECIFIED",
      +          "JOURNAL_ENTRY_STATUS_DRAFT",
      +          "JOURNAL_ENTRY_STATUS_POSTED",
      +          "JOURNAL_ENTRY_STATUS_VOID"
      +        ],
      +        "type": "string"
      +      },
      +      "transactionId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID value wrapper.",
      +            "properties": {
      +              "value": {
      +                "format": "uuid",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "updatedAt": {
      +        "anyOf": [
      +          {
      +            "format": "date-time",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "companyId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / entry / properties
      Removed value: -{
      -  "companyId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "createdAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "currencyCode": {
      -    "type": "string"
      -  },
      -  "entryDate": {
      -    "type": "string"
      -  },
      -  "id": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "lines": {
      -    "items": {
      -      "properties": {
      -        "accountCode": {
      -          "type": "string"
      -        },
      -        "accountName": {
      -          "type": "string"
      -        },
      -        "amount": {
      -          "type": "string"
      -        },
      -        "glAccountId": {
      -          "description": "UUID value wrapper.",
      -          "properties": {
      -            "value": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "id": {
      -          "description": "UUID value wrapper.",
      -          "properties": {
      -            "value": {
      -              "format": "uuid",
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "lineNo": {
      -          "type": "integer"
      -        },
      -        "memo": {
      -          "type": "string"
      -        },
      -        "side": {
      -          "enum": [
      -            "JOURNAL_ENTRY_SIDE_UNSPECIFIED",
      -            "JOURNAL_ENTRY_SIDE_DEBIT",
      -            "JOURNAL_ENTRY_SIDE_CREDIT"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "memo": {
      -    "type": "string"
      -  },
      -  "needsReview": {
      -    "type": "boolean"
      -  },
      -  "needsReviewReason": {
      -    "enum": [
      -      "NEEDS_REVIEW_REASON_UNSPECIFIED",
      -      "NEEDS_REVIEW_REASON_UNCATEGORIZED",
      -      "NEEDS_REVIEW_REASON_REVERSED",
      -      "NEEDS_REVIEW_REASON_UNMAPPED_LEGACY"
      -    ],
      -    "type": "string"
      -  },
      -  "reference": {
      -    "type": "string"
      -  },
      -  "source": {
      -    "type": "string"
      -  },
      -  "status": {
      -    "enum": [
      -      "JOURNAL_ENTRY_STATUS_UNSPECIFIED",
      -      "JOURNAL_ENTRY_STATUS_DRAFT",
      -      "JOURNAL_ENTRY_STATUS_POSTED",
      -      "JOURNAL_ENTRY_STATUS_VOID"
      -    ],
      -    "type": "string"
      -  },
      -  "transactionId": {
      -    "description": "UUID value wrapper.",
      -    "properties": {
      -      "value": {
      -        "format": "uuid",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "updatedAt": {
      -    "format": "date-time",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / entry / required
      Removed value: -[
      -  "companyId"
      -]
    • removedOutput schema / properties / entry / type
      Removed value: -"object"
  4. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds one genuinely useful behavioral fact beyond that: it returns empty when no entry exists yet, and that the entry is 'derived' rather than stored. No mention of auth requirements or error behavior.

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?

A single front-loaded sentence carries the purpose plus the empty-result behavior, followed by a terse 'Read-only.' It is efficiently sized, though the trailing 'Read-only.' largely restates the readOnlyHint annotation rather than earning its place.

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. For a simple two-param read-by-id tool the description is nearly complete, with only usage routing to alternatives left unaddressed.

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 description coverage is 100% and both parameters (companyId, transactionId) are documented as UUID value wrappers in the schema. The description adds no format, constraint, or relationship detail beyond what the schema already provides, so the baseline 3 applies.

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?

States a specific verb+resource (returns the journal entry) scoped to a single transaction, which cleanly separates it from the sibling accounting_get_list_journal_entries. It is clear on its own, but does not explicitly name that sibling or contrast the two.

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 description implies a lookup keyed on a transaction but gives no when-to-use guidance, no prerequisites, and no pointer to alternatives like the list endpoint or general ledger. The agent must infer the use case from the name alone.

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.