Skip to main content
Glama

echo

Test JIRA issue formatting by echoing input text with optional case transformation to verify markdown-to-ADF conversion accuracy.

Instructions

Echo back the input text with optional case transformation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
transformNo

Implementation Reference

  • Core handler function implementing the echo tool logic: echoes input text with optional upper/lower case transformation and returns MCP TextContent.
    def echo(text: str, transform: Optional[str] = None) -> types.TextContent: """ Echo the input text back to the caller with optional case transformation. Args: text: The text to echo back transform: Optional case transformation ('upper' or 'lower') Returns: TextContent: The transformed text as MCP TextContent """ if transform == "upper": result = text.upper() elif transform == "lower": result = text.lower() else: result = text return types.TextContent( type="text", text=result, format="text/plain" )
  • Registration of the 'echo' tool via @mcp_server.tool decorator. Includes a thin wrapper function that delegates to the core echo implementation.
    @mcp_server.tool( name="echo", description="Echo back the input text with optional case transformation", ) def echo_tool(text: str, transform: Optional[str] = None) -> types.TextContent: """Wrapper around the echo tool implementation""" return echo(text, transform)

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/codingthefuturewithai/mcp_jira'

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