Skip to main content
Glama

tabularia_search

Read-only

Find wording across the open Projects. Searches the current composition and answers with the Block index and surrounding context of every occurrence. This is literal search, not semantic retrieval, so to find an idea pass the wordings a writer might have used: put synonyms and alternative phrasings in anyOf (any one is a hit), set wordForms to match every inflection of each word (conceal finds concealed, conceals, concealing; list irregular forms such as hid and hidden yourself), and use near to require other wording within a few words in the same paragraph. With any of these, the hits are ranked so paragraphs carrying more distinct wordings come first, and each hit names the wording it matched. The answer is a page of matches: it says how many it found and whether more follow, so report what it tells you rather than counting the list. To read a whole paragraph around a hit, pass its blockId to tabularia_read_passages; its from is a Manuscript offset for tabularia_read_range.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "tabularia_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoZero-based index of the first match to report, for reading past the last page.
nearNoOnly report a hit when one of these wordings sits within the given number of words of it, in the same paragraph.
anyOfNoAlternative wordings that count as the same hit: synonyms, related phrasings, spelling variants. Pass several; the search does not guess them.
limitNoHow many matches to report, up to 200.
queryYesThe wording to find. Case-insensitive.
draftIdNoOptional. A Draft id from tabularia_list_drafts, to read that Draft rather than what the Writer has showing, including a Draft that is not showing. Indexes and offsets then count within that Draft. Omit it to read the Manuscript as usual.
projectNoLimit the search to one Project. Omit it to search every open Project.
wordFormsNoMatch every inflection of each word (plural, past, -ing), whole words only. Irregular forms still need listing in anyOf.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / draftId
      Added value: +{
      +  "description": "Optional. A Draft id from tabularia_list_drafts, to read that Draft rather than what the Writer has showing, including a Draft that is not showing. Indexes and offsets then count within that Draft. Omit it to read the Manuscript as usual.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare it a safe, closed read; the description adds substantially beyond that: hits are ranked so paragraphs with more distinct wordings come first, each hit names the wording it matched, matching is case-insensitive and whole-word for inflections, and irregular forms are not inferred. It also discloses paging behavior and warns the agent to report the reported count rather than tallying the list, which prevents a very likely mistake.

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?

Purpose comes first, then the literal-vs-semantic distinction, then parameter mechanics, then follow-up routing — a sensible front-loaded order with no filler sentences. It is dense and long for a single description, but each sentence carries operational content rather than restating the schema.

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?

For an eight-parameter tool with a nested object and no output schema, the description covers the gaps that matter: it describes the returned page shape and count semantics in place of a schema, explains how the nested near object behaves, and spells out handoff to the two read tools. Nothing an agent needs to call it correctly is left implicit.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already defines each parameter; the description still adds meaning the schema cannot express, notably that irregular forms must be listed manually in anyOf even when wordForms is set, and that supplying draftId shifts what indexes and offsets count against. It adds less on limit and within, whose defaults and bounds are left to the schema.

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?

"Find wording across the open Projects" gives a specific verb and scope, and the description immediately contrasts itself with semantic retrieval, so an agent can separate this from tabularia_search_by_meaning without opening the schema. It also states what the answer contains (Block index plus surrounding context), which frames the resource precisely.

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?

The description states the governing condition for this tool (literal search, not semantic retrieval, so pass the wordings a writer might have used) and explains which parameter to reach for in each situation: anyOf for synonyms, wordForms for inflections, near for proximity. It also routes follow-up work explicitly to tabularia_read_passages and tabularia_read_range, naming the field to carry over in each case.

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