Skip to main content
Glama

correct_classification

Correct misclassified transactions by recording the error and auto-applying the right account to future matching patterns, company-wide or per client.

Instructions

税理士修正フィードバック。誤分類を記録し、同パターンの取引が今後来たら修正後の勘定科目を自動適用。Linksee Memory caveat layer と同等(= 永続記憶、二度と同じ誤りをしない)。修正は全社共通 or 特定会社のみに適用可能。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYes修正理由(例: "1人利用・5,000円以下は会議費")
company_idNo特定会社のみに適用(省略 = 全社共通)
memo_patternYesこの修正が適用される摘要パターン(例: "スターバックス 渋谷")
partner_nameNo取引先名(optional — memo_pattern だけでもOK)
to_category_idYes正しい勘定科目ID
from_category_idNo誤分類だった勘定科目ID(optional)
to_category_name_jaYes正しい勘定科目名
from_category_name_jaNo誤分類だった勘定科目名(optional)
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool uses '永続記憶' (persistent memory) and will '自動適用' (automatically apply) corrected categories to future similar transactions. It also explains scope options (company-wide or specific company). While it doesn't cover all behavioral details (e.g., idempotency, error handling), it provides key behavioral context beyond the schema.

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?

The description is three sentences long with no filler. It front-loads the core purpose ('税理士修正フィードバック'), explains the mechanism, and notes scope. Every sentence earns its place, making it highly concise and well-structured.

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?

Given the tool's complexity (8 parameters, persistence, auto-application), the description covers the main purpose, behavior, and scope. It lacks details about return values (no output schema) and error handling, but these are not critical for understanding the tool's function. Overall, it is reasonably complete for a correction feedback tool.

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%, meaning each parameter already has a description in the input schema. The tool description adds conversational context but does not provide additional parameter-level meaning beyond what the schema already conveys. Per guidelines, baseline is 3 when coverage is high.

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 explicitly states '税理士修正フィードバック' (tax accountant correction feedback) and explains the tool records misclassifications and auto-applies corrected categories to future matching transactions, with a note about persistent memory. This clearly distinguishes it from siblings like 'classify_transaction' (classification) and 'recall_memory' (memory retrieval), providing a specific verb-resource pair.

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?

The description clearly indicates the tool is for correction feedback and mentions scope (company-wide or per-company). It implicitly distinguishes from siblings by focusing on recording corrections rather than classifying or recalling, but does not explicitly state when NOT to use it or name alternatives. This is slightly below a 5 due to lack of explicit exclusion guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/michielinksee/bantou'

If you have feedback or need assistance with the MCP directory API, please join our Discord server