Skip to main content
Glama

Octobooks

Search the books

search
Read-onlyIdempotent

Find things in the books by text or amount: journal entries (narration, reference, entry number), bank lines (payee, reference), documents (counterparty, number), accounts (code, name) and contacts (customers and suppliers by any part of the name or code). kinds narrows: entries, bank_lines, documents, accounts, contacts. Dates narrow entries, bank lines and documents. amount_min and amount_max (round 650, as Find and match on the web) narrow entries (their total or any one line; matched_by says total or lines, lines_in_range names the lines), bank lines (in or out, by size) and documents (gross) to an amount range; with a range the query may be empty: every entry, line and document in the range and the dates.

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": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNo
limitNo
queryNo
companyNo
date_toNo
date_fromNo
amount_maxNo
amount_minNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine behavioral context beyond that: how amount filtering behaves (matching an entry's total or any single line, with matched_by and lines_in_range in the result) and the edge case where an empty query combined with an amount range returns everything in range. It omits limit/pagination behavior and company scoping, and an output schema already exists, so this is useful but partial.

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?

Purpose is front-loaded, but the body is a run-on paragraph of semicolon-linked clauses that are hard to parse, and phrases like 'round 650, as Find and match on the web' are confusing filler rather than helpful detail. Most content earns its place, but the structure works against readability.

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?

With eight optional parameters, an output schema, and solid annotations, the definition covers the majority of what an agent needs to form filters. The gaps are limit behavior (default 20 but no stated cap or pagination semantics) and the company parameter, which is entirely unaddressed despite being a scoping control on a multi-company books 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 coverage is 0%, so the description carries the full burden. It gives real meaning for kinds (enumerating valid values), query, date_from/date_to, and amount_min/amount_max including their matching semantics. It says nothing about limit or company, leaving two of eight parameters undocumented in both schema and description.

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 opens with a concrete verb and scope ('Find things in the books by text or amount') and enumerates the five entity families that can be matched (entries, bank lines, documents, accounts, contacts). An agent can tell this is a cross-entity search tool rather than a single-domain reader. It is dense and occasionally garbled ('as Find and match on the web'), but the core purpose is unambiguous.

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 implied rather than stated: it explains that 'kinds narrows' and that 'with a range the query may be empty', which tells the agent how to combine filters, but it never says when to prefer this tool over the many sibling listing tools, nor when not to use it. No exclusions or alternatives are named.

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.

Resources