Skip to main content
Glama

tier_find

Search a document with hybrid matching that splits identifiers, uses synonyms, and falls back to character n-grams to return best-matching section IDs and scores.

Instructions

Hybrid search over a doc: identifier splitting, synonyms, and character n-gram fallback. Returns best-matching section ids with scores.

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": {
      "path": "<path>",
      "query": "<query>"
    },
    "name": "tier_find"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNo
pathYes
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations present, the description must carry the behavioral burden. It does disclose the matching strategy (hybrid, with n-gram fallback) and the shape of the return value (section ids plus scores), but says nothing about whether the doc must be indexed first, what happens on an unknown path, failure modes, or whether the call is read-only.

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?

Two dense sentences with zero filler, and the operation is front-loaded ahead of the algorithm details and return value. Nothing could be cut without losing information.

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?

Lacking annotations, an output schema, and any schema parameter descriptions, this three-parameter search tool needs more than two sentences. Missing are path semantics relative to the index, the meaning of k, and error or empty-result behavior, leaving real gaps for an agent calling it blind.

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%, so the description must compensate for all three parameters and largely does not. 'Returns best-matching section ids' weakly implies that k caps the number of results, but neither path (doc location) nor query is explained, and the default of 3 is left unaddressed.

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 ('Hybrid search over a doc') and states the return contract ('best-matching section ids with scores'), which clearly separates it from fetching siblings like tier_get or listing siblings like tier_list. It stops short of explicitly naming which sibling to use instead, so it is clear but not fully differentiated.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance. The mention of 'identifier splitting, synonyms, and character n-gram fallback' hints that this is the tool for fuzzy or approximate matching, but the agent must infer that, and nothing tells it when to prefer tier_get, tier_slice, or tier_list over this search.

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