Skip to main content
Glama
kentaroajisaka

mf-api-mcp

mfc_ca_putJournals

Updates journal entries in Money Forward Cloud Accounting by full replacement, writing to the books after user approval.

Instructions

仕訳を更新します(全置換API・帳簿書き込み。要ユーザー承認)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
journalYes仕訳オブジェクト { transaction_date, journal_type: 'journal_entry'|'adjusting_entry', branches: [{debitor?, creditor?, remark?}], tags?, memo? }。invoice_kind は自由値を許容(公式書込み3値以外は検証実験用)
office_codeNo対象事業者の事業者番号(XXXX-XXXX)。APIキー認証では必須。MF_OFFICE_CODE を設定していれば省略可

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

No annotations were provided, so the description carries the full behavioral burden. It does a good job: it flags the destructive full-replacement behavior and the ledger-write nature, plus the user-approval requirement. It omits return format and failure modes, but the critical behavioral traits for a write operation are disclosed.

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

Conciseness5/5

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

A single compact sentence with the core verb front-loaded and the two most important caveats (full replacement, approval required) packed efficiently. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write operation with no output schema and no annotations, the description covers the essentials—operation, destructive scope, and approval need. It does not explain return values or error conditions, and it lacks any pointer to sibling tools for alternative operations, leaving a moderately complete picture.

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 67%, and the journal and office_code parameters are already well documented in the schema with detailed structure and constraints. The description itself adds no parameter-level detail beyond what the schema provides, so it doesn't compensate for the undocumented id parameter, but it also doesn't need to since the schema does most of the work.

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?

Description states a specific verb and resource: 仕訳を更新します (updates journals), and adds that it is a full-replacement API (全置換API) writing to the ledger. This is clear, though it doesn't explicitly distinguish itself from the sibling mfc_ca_postJournals (create) or mfc_ca_deleteJournals (delete), relying on 'update' and 'full replacement' to imply the difference.

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

Usage Guidelines3/5

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

The description discloses a usage precondition, 要ユーザー承認 (user approval required), and the destructive full-replacement nature. However, it gives no guidance on when to use this tool versus the sibling mfc_ca_postJournals for creating or mfc_ca_getJournals for reading, so an agent must infer usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.