Skip to main content
Glama

mechacut

text_chunk

Exact token-budget chunking with the REAL tokenizer (cl100k/o200k/o250k/p50k/gpt2), sentence/paragraph units, overlap that cannot reach the budget, char offsets, hard cuts flagged. The flagship: $0.001 per call — RAG pipelines are the heavy industry that funds the free tools.

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": {
      "text": "<text>"
    },
    "name": "text_chunk"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
unitNosentence
budgetNo
overlapNo
encodingNocl100k_base

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose genuinely useful traits: overlap that cannot reach the budget, hard cuts being flagged, and char offsets in the result — plus a concrete price. It omits return shape beyond those hints, determinism, error behavior on empty/oversized input, and any guidance on when hard cuts occur.

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?

The first sentence is dense, front-loaded, and earns its space. The second sentence mixes one useful fact (cost per call) with marketing padding — 'the flagship' and 'heavy industry that funds the free tools' — that adds no invocation value and dilutes the signal.

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 5-parameter tool with no annotations and no output schema, the description gives a decent but incomplete picture: it hints at returned offsets and cut flags but does not describe the result structure or defaults. An agent could call it correctly on the main path but would be guessing about output shape and edge cases.

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 0% schema description coverage, the description must compensate and largely does: it enumerates the tokenizer values for encoding, names sentence/paragraph for unit, explains that budget is measured in tokens, and states the overlap invariant. It does not cover defaults (512, cl100k_base), whether overlap must be less than budget, or the text parameter's size limits.

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 first sentence names a specific verb (chunking) and resource (text) and pins down the mechanism: token-budget chunking with real tokenizers (cl100k/o200k/o250k/p50k/gpt2), sentence/paragraph units, char offsets. That is far more specific than a name restatement and implicitly separates it from siblings like text_truncate or text_select, though it never names an alternative explicitly.

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 only implied: the RAG-pipeline framing and the '$0.001 per call' cost signal suggest bulk document splitting, but the description never says when to pick this over text_truncate, text_select, or doc_text, nor any exclusions or prerequisites. An agent must infer the use case from context rather than being told.

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.