Tools

  1. echo: Echoes back the input


    Input schema:
    {
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "Message to echo"
        }
      },
      "required": [
        "message"
      ],
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    null
    
  2. add: Adds two numbers


    Input schema:
    {
      "type": "object",
      "properties": {
        "a": {
          "type": "number",
          "description": "First number"
        },
        "b": {
          "type": "number",
          "description": "Second number"
        }
      },
      "required": [
        "a",
        "b"
      ],
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    null
    
  3. longRunningOperation: Demonstrates a long running operation with progress updates


    Input schema:
    {
      "type": "object",
      "properties": {
        "duration": {
          "type": "number",
          "default": 10,
          "description": "Duration of the operation in seconds"
        },
        "steps": {
          "type": "number",
          "default": 5,
          "description": "Number of steps in the operation"
        }
      },
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    null
    
  4. printEnv: Prints all environment variables, helpful for debugging MCP server configuration


    Input schema:
    {
      "type": "object",
      "properties": {},
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    null
    
  5. sampleLLM: Samples from an LLM using MCP’s sampling feature


    Input schema:
    {
      "type": "object",
      "properties": {
        "prompt": {
          "type": "string",
          "description": "The prompt to send to the LLM"
        },
        "maxTokens": {
          "type": "number",
          "default": 100,
          "description": "Maximum number of tokens to generate"
        }
      },
      "required": [
        "prompt"
      ],
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    null
    
  6. getTinyImage: Returns the MCP_TINY_IMAGE


    Input schema:
    {
      "type": "object",
      "properties": {},
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    null
    
  7. annotatedMessage: Demonstrates how annotations can be used to provide metadata about content


    Input schema:
    {
      "type": "object",
      "properties": {
        "messageType": {
          "type": "string",
          "enum": [
            "error",
            "success",
            "debug"
          ],
          "description": "Type of message to demonstrate different annotation patterns"
        },
        "includeImage": {
          "type": "boolean",
          "default": false,
          "description": "Whether to include an example image"
        }
      },
      "required": [
        "messageType"
      ],
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    null
    
  8. getResourceReference: Returns a resource reference that can be used by MCP clients


    Input schema:
    {
      "type": "object",
      "properties": {
        "resourceId": {
          "type": "number",
          "minimum": 1,
          "maximum": 100,
          "description": "ID of the resource to reference (1-100)"
        }
      },
      "required": [
        "resourceId"
      ],
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    null
    
  9. getResourceLinks: Returns multiple resource links that reference different types of resources


    Input schema:
    {
      "type": "object",
      "properties": {
        "count": {
          "type": "number",
          "minimum": 1,
          "maximum": 10,
          "default": 3,
          "description": "Number of resource links to return (1-10)"
        }
      },
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    null
    
  10. structuredContent: Returns structured content along with an output schema for client data validation


    Input schema:
    {
      "type": "object",
      "properties": {
        "location": {
          "type": "string",
          "minLength": 1,
          "description": "City name or zip code"
        }
      },
      "required": [
        "location"
      ],
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    {
      "type": "object",
      "properties": {
        "temperature": {
          "type": "number",
          "description": "Temperature in celsius"
        },
        "conditions": {
          "type": "string",
          "description": "Weather conditions description"
        },
        "humidity": {
          "type": "number",
          "description": "Humidity percentage"
        }
      },
      "required": [
        "temperature",
        "conditions",
        "humidity"
      ],
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    
  11. zip: Compresses the provided resource files (mapping of name to URI, which can be a data URI) to a zip file, which it returns as a data URI resource link.


    Input schema:
    {
      "type": "object",
      "properties": {
        "files": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "format": "uri",
            "description": "URL of the file to include in the zip"
          },
          "description": "Mapping of file names to URLs to include in the zip"
        }
      },
      "required": [
        "files"
      ],
      "additionalProperties": false,
      "$schema": "http://json-schema.org/draft-07/schema#"
    }
    

    Output schema:
    null