Skip to main content
Glama
zhenzp

Fund MCP Server

by zhenzp

fund.echo

Test the Fund MCP Server connection by sending a message and receiving an immediate response, verifying server functionality for financial fund queries.

Instructions

Echo back a message. Example interface for scaffold.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesText to echo back

Implementation Reference

  • The handler logic for the 'fund.echo' tool within the main handleToolRequest function. It validates the input using echoSchema and returns the echoed message.
    if (name === "fund.echo") { const parsed = echoSchema.parse(args); return { content: [{ type: "text", text: parsed.message }], }; }
  • Zod schema definition used for input validation of the 'fund.echo' tool.
    const echoSchema = z.object({ message: z.string(), });
  • Tool registration in getAllTools array, including name, description, and input schema for 'fund.echo'.
    { name: 'fund.echo', description: 'Echo back a message. Example interface for scaffold.', inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'Text to echo back' } }, required: ['message'] } },
  • Input schema defined in the tool registration for 'fund.echo'.
    inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'Text to echo back' } }, required: ['message'] }
Install Server

Other Tools

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/zhenzp/fund-mcp-server'

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