Skip to main content
Glama
contabridge-mcp

contabridge-mcp

Detect accounting file format

detect_format
Read-onlyIdempotent

Identifies the accounting import format of a file, such as A3, ContaPlus CSV/ASCII, CSV, QuickBooks IIF/CSV, or Xero CSV, so you can route it to the correct import step.

Instructions

Tell which accounting import format a file is (a3, contaplus_csv, contaplus_ascii, csv, quickbooks_iif, quickbooks_csv, xero_csv). Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "detect_format"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentNo
content_base64No

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds two useful behavioral facts beyond that: the closed set of detectable formats and that the call is 'Free' (no billing impact). It says nothing about behavior with unparseable or ambiguous input, which would have pushed this higher.

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?

Effectively one front-loaded sentence with a useful parenthetical of allowed values and no filler. The mid-sentence line break is cosmetic noise but the content itself earns its place.

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

Completeness2/5

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

The output schema removes the need to explain return values, but with 0% schema coverage the description should have disambiguated the two input parameters and it does not. For a detection tool where the caller must know how to supply the file, that omission is a material gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description says nothing about the two parameters ('content' vs 'content_base64'), so the agent cannot tell whether they are alternatives, which one takes precedence, or what encoding is expected. Both parameters are optional with empty-string defaults, which is non-obvious and unexplained.

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?

The description names a specific verb and resource ('Tell which accounting import format a file is') and even enumerates the seven possible return values (a3, contaplus_csv, quickbooks_iif, etc.), so the agent knows exactly what question the tool answers. It does not explicitly contrast itself with any sibling tool, which keeps it at 4 rather than 5.

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?

Usage is only implied: an agent can infer this is a pre-conversion sniffing step before calling something like convert_journal, but the description never says so and names no alternatives or exclusion conditions. The trailing 'Free.' hints at a cost trade-off but does not turn into routing guidance.

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