Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agent-hanju/char-index-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server