Tool Details: toolList

Basic Information

Tool Name:toolList
Asset Name:MCP Tools List
Description:Lists available MCP tools from a remote server
Adapter:mcp
Asset Hash:0xe892e35eff7770079698fcaa61622d1d7ce611e6f7e268d557228b504c3e3d51
Input
PropertyTypeDescription
tokenstringAPI access token to use for the delegated MCP request
server*stringURL or DID for the MCP server
Output
PropertyTypeDescription
totalintegerTotal number of available tools
toolsarrayArray of available MCP tools

MCP Tool Usage Examples

This tool can be called via the MCP (Model Context Protocol) endpoint. Here are examples of how to use it:

JSON-RPC Call Example:

POST to https://mcp-1st-birthday-agentic-economics.hf.space/mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "toolList",
    "arguments": {
      "input": "your input here"
    }
  }
}
cURL Example:
curl -X POST https://mcp-1st-birthday-agentic-economics.hf.space/mcp \\
  -H "Content-Type: application/json" \\
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "toolList",
      "arguments": {
        "input": "your input here"
      }
    }
  }'
Python Example:
import requests
import json

url = "https://mcp-1st-birthday-agentic-economics.hf.space/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "toolList",
        "arguments": {
            "input": "your input here"
        }
    }
}

response = requests.post(url, json=payload)
result = response.json()
print(result)
JavaScript/Node.js Example:
const fetch = require('node-fetch');

const url = 'https://mcp-1st-birthday-agentic-economics.hf.space/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'toolList',
        arguments: {
            input: 'your input here'
        }
    }
};

fetch(url, {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json'
    },
    body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data));

Asset Metadata

{
	"name": "MCP Tools List",
	"description": "Lists available MCP tools from a remote server",
	"dateCreated": "2025-01-27T00:00:00Z",
	"operation": {
		"adapter": "mcp:tools:list",
		"info":{
		    "featured":true
		},

		
		"toolName": "toolList",
		"input": {
			"type": "object",
			"properties": {
				"server": {
					"type": "string",
					"description": "URL or DID for the MCP server",
					"examples":["https://venue-test.covia.ai/mcp","did:web:venue1.covia.ai"]
				},
				"token": {
					"type": "string",
					"description": "API access token to use for the delegated MCP request",
					"examples":["xyzabcdefghj"]
				}
			},
			"required": ["server"]
		},
		"output": {
			"type": "object",
			"properties": {
				"tools": {
					"type": "array",
					"description": "Array of available MCP tools",
					"items": {
						"type": "object",
						"properties": {
							"name": {
								"type": "string",
								"description": "Tool name"
							},
							"description": {
								"type": "string",
								"description": "Tool description"
							},
							"inputSchema": {
								"type": "object",
								"description": "Tool input schema"
							}
						}
					}
				},
				"total": {
					"type": "integer",
					"description": "Total number of available tools"
				}
			}
		}
	}
}

Navigation

Back to adapter details

Back to all adapters

Back to index