char-index-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| find_nth_charA | Find index of nth occurrence of a character. Returns -1 if not found. |
| find_all_char_indicesA | Find all indices where a character appears. Returns empty list if not found. |
| find_nth_substringA | Find starting index of nth occurrence of a substring. Returns -1 if not found. |
| find_all_substring_indicesB | Find all starting indices where a substring appears (includes overlaps). |
| split_at_indicesB | Split text at exact index positions. Indices auto-sorted and deduplicated. |
| insert_at_indexC | Insert text at index position without replacing. Supports negative indices. |
| delete_rangeC | Delete characters in range [start, end). |
| replace_rangeB | Replace characters in range [start, end) with new text. |
| find_regex_matchesB | Find all regex matches with positions. Returns list of {start, end, match} dicts. |
| extract_between_markersC | Extract content between markers with positions. Returns dict with content and position info. |
| count_charsB | Count character statistics. Returns dict with total, without_spaces, letters, digits, spaces, special. |
| extract_substringsB | Extract substrings by index ranges. Supports negative indices and omitting end. Returns list of {start, end, substring, length} dicts. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool has a clearly distinct purpose with no overlap: character counting, deletion, extraction, finding indices, regex matching, insertion, replacement, and splitting. The descriptions precisely differentiate operations like find_all_char_indices vs find_nth_char, and extract_between_markers vs extract_substrings.
All tools follow a consistent snake_case verb_noun pattern (e.g., count_chars, delete_range, extract_between_markers). The naming is predictable and readable throughout, with verbs like count, delete, extract, find, insert, replace, and split consistently applied.
12 tools are well-scoped for a character/index manipulation server, covering essential operations without bloat. Each tool earns its place by addressing specific needs like character statistics, range operations, substring extraction, and pattern matching.
The toolset provides complete coverage for text manipulation tasks: counting, insertion, deletion, replacement, extraction, finding indices (both character and substring), regex matching, and splitting. There are no obvious gaps; agents can perform a full lifecycle of operations on text data.