Skip to main content
Glama

Search Tools

search_tools
Read-onlyIdempotent

Find the SuperBooks bookkeeping operations this connection can use (transactions, invoices, customers, reports, documents, inbox, tags, time tracking), as typed external_ TypeScript declarations for execute_typescript. Call it first for any question about the user's business finances. Optionally filter with { query }: a word or substring of the tool id and description ('invoice'), several tool ids separated by spaces, or a plain question in the user's words ('who owes me money'), which returns the few tools that answer it. When the matches are too many to declare at once it returns an index of ids and summaries; query the ids you need to get their declarations.

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_tools"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoA word or substring of the tool id and description, several tool ids separated by spaces, or a plain question in the user's words. Omit to list every tool this credential can reach.

Output Schema

NameRequiredDescriptionDefault
indexNoSet when the matching declarations were too long to send at once: says the tools carry summaries only and how to get their declarations.
toolsYes
firstStepNoPresent only while the team's books are empty (no bank connected, no transactions, no invoices): the ways to start that you can offer the person. Absent once the team has data.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / firstStep
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Present only while the team's books are empty (no bank connected, no transactions, no invoices): the ways to start that you can offer the person. Absent once the team has data.",
      +  "properties": {
      +    "booksEmpty": {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "options": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "how": {
      +            "description": "The calls that carry it out.",
      +            "type": "string"
      +          },
      +          "id": {
      +            "description": "connect_bank, import_transactions or add_by_hand.",
      +            "type": "string"
      +          },
      +          "needsPermission": {
      +            "description": "Set when this connection lacks a permission tier the option needs: how to ask the person for it.",
      +            "type": "string"
      +          },
      +          "tools": {
      +            "description": "The tool ids the option uses.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "what": {
      +            "description": "What to offer the person.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "what",
      +          "how",
      +          "tools"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "booksEmpty",
      +    "message",
      +    "options"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Case-insensitive substring filter over the tool id and description, or several tool ids separated by spaces. Omit to list every tool this credential can reach."New value: +"A word or substring of the tool id and description, several tool ids separated by spaces, or a plain question in the user's words. Omit to list every tool this credential can reach."
  3. Changed5 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Case-insensitive substring filter over the tool id and description. Omit to list every tool this credential can reach."New value: +"Case-insensitive substring filter over the tool id and description, or several tool ids separated by spaces. Omit to list every tool this credential can reach."
    • addedOutput schema / properties / index
      Added value: +{
      +  "description": "Set when the matching declarations were too long to send at once: says the tools carry summaries only and how to get their declarations.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / tools / items / properties / declaration / description
      Previous value: -"The typed TypeScript declaration for external_<name>, JSDoc (title, scope tag, description) included."New value: +"The typed TypeScript declaration for external_<name>, JSDoc (title, scope tag, description) included. Left out when the answer is an index."
    • addedOutput schema / properties / tools / items / properties / summary
      Added value: +{
      +  "description": "The tool's title and scope tag, sent instead of the declaration when the answer is an index.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / tools / items / required
      Previous value: -[
      -  "id",
      -  "external_name",
      -  "declaration"
      -]New value: +[
      +  "id",
      +  "external_name"
      +]
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds materially beyond that: the output is TypeScript declarations for a specific executor, and large match sets degrade to an index of ids and summaries that must be re-queried. It does not state result-size limits or whether the reachable tool set varies by credential beyond the schema's 'every tool this credential can reach'.

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?

Front-loaded with purpose, then usage, then parameter semantics and the index fallback — a sensible order with no filler sentences. The long parenthetical domain list is informative but makes the opening sentence heavy; it could be trimmed without loss.

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

Completeness5/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 no narration, yet the description still covers the one non-obvious response case (index of ids and summaries) and the follow-up action. For a single optional-parameter discovery tool, an agent has everything needed to call it and interpret the result.

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 100% and the schema's query description is nearly word-for-word identical to the description's explanation of word/substring, space-separated ids, and natural-language questions. The description reinforces but adds no syntax, format, or constraint detail beyond what the schema already supplies, so the baseline 3 applies.

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?

States a specific verb and resource ('Find the SuperBooks bookkeeping operations this connection can use'), enumerates the covered domains, and pins the output format ('typed external_<id> TypeScript declarations for execute_typescript'). That last clause cleanly separates it from the sibling execute_typescript, which consumes rather than discovers these declarations.

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

Usage Guidelines5/5

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

Gives an explicit trigger: 'Call it first for any question about the user's business finances,' which positions it ahead of execute_typescript in the workflow. It also spells out the three accepted query shapes and what to do when the result is an index rather than full declarations, leaving little to inference.

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