Skip to main content
Glama

mechacut

text_select

Extractive selection without a model: score provided chunks against a query by closed coverage rules (token overlap, document-order tie-break), return top-k with matched terms. Deterministic. Free.

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": {
      "chunks": "<chunks>",
      "query": "<query>"
    },
    "name": "text_select"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNo1..50
unitNoword
queryYes
chunksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations, so the description carries the full burden; it does disclose the algorithm, determinism, and that matched terms are returned. It omits what happens on zero overlap (empty result vs fallback), whether scores/ranking metadata are returned, and cost of large chunk arrays. It adds real behavioral value but is not complete for an unannotated tool.

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 terse sentences, front-loaded with the core action and mechanism, with no filler. The telegraphic style ('closed coverage rules') is slightly opaque but nothing is wasted.

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?

For a 4-parameter tool with no output schema and no annotations, the description does outline the return (top-k with matched terms) but leaves the unit parameter, the zero-match case, and the shape of returned results underspecified. Adequate but with clear gaps.

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?

With only 25% schema coverage, the description meaningfully compensates: it explains that chunks are scored against query and that k selects top-k results, adding semantics beyond the bare 'query'/'chunks' fields. It does not explain the 'unit' parameter's word-vs-char effect on matching, leaving that gap 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?

States a specific verb chain and resource: score provided chunks against a query and return top-k with matched terms, using a named mechanism (token overlap, document-order tie-break). An agent can tell this is deterministic extractive retrieval rather than chunking or diffing, though no sibling is named for contrast.

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?

'Extractive selection without a model ... Deterministic. Free.' implies when to prefer it (no embedding model, no cost, reproducible), which is useful selection context. But there is no explicit when-not guidance and no named alternative among the many text_* siblings it could be confused with.

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.