Skip to main content
Glama
icck

Toy MCP Server

by icck
count_letters_tool.py350 B
from typing import Annotated from pydantic import Field def count_letters_impl( word: Annotated[str, Field(description="The word to count letters in")], letter: Annotated[str, Field(description="The letter to count")], ) -> int: """Count the number of times a letter appears in a word.""" return word.lower().count(letter.lower())

Implementation Reference

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/icck/toy'

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