Skip to main content
Glama

text-chunk

Split document or text content into deterministic overlapping chunks for RAG ingestion, embeddings, vector indexing, retrieval pipelines and LLM context windows. Costs $0.001 USDC on Base via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNo
textYes
overlapNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full behavioral burden. It usefully discloses determinism and a $0.001 USDC cost on Base via x402, but omits defaults, input limits, read-only nature, and payment or rate-limit behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences only, front-loaded with the core action and followed by use-case context and cost. Every clause earns its place.

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?

With no annotations and no output schema, the description should fill more operational gaps. It explains purpose and cost but not return format, default chunk size, default overlap, limits, or parameter behavior.

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% and the description does not explain size, text length limits, defaults, units, or overlap semantics beyond the phrase 'overlapping chunks'. It adds little beyond the schema's parameter names and numeric constraints.

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?

Names a specific verb and resource ('Split document or text content into deterministic overlapping chunks') and adds clear target use cases. It is easily distinguishable from sibling text utilities such as text-stats, text-diff, and html-to-text.

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

Usage Guidelines4/5

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

Lists RAG ingestion, embeddings, vector indexing, retrieval pipelines, and LLM context windows as intended contexts. It does not state when not to use it or name an alternative, but the usage context is explicit.

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.