Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
find_nth_char

Find index of nth occurrence of a character. Returns -1 if not found.

find_all_char_indices

Find all indices where a character appears. Returns empty list if not found.

find_nth_substring

Find starting index of nth occurrence of a substring. Returns -1 if not found.

find_all_substring_indices

Find all starting indices where a substring appears (includes overlaps).

split_at_indices

Split text at exact index positions. Indices auto-sorted and deduplicated.

insert_at_index

Insert text at index position without replacing. Supports negative indices.

delete_range

Delete characters in range [start, end).

replace_range

Replace characters in range [start, end) with new text.

find_regex_matches

Find all regex matches with positions. Returns list of {start, end, match} dicts.

extract_between_markers

Extract content between markers with positions. Returns dict with content and position info.

count_chars

Count character statistics. Returns dict with total, without_spaces, letters, digits, spaces, special.

extract_substrings

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