list_services
Discover available service categories in the SOMA marketplace to identify what tasks and assistance you can request from human agents.
Instructions
List what Soma can do. Returns available service categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- server.py:199-211 (handler)The list_services() function that implements the tool logic. It returns a descriptive string explaining what Soma (the agent marketplace) can do, including examples of service requests that can be submitted.
@mcp.tool() def list_services() -> str: """List what Soma can do. Returns available service categories.""" return ( "Soma — agent marketplace (concierge model)\n\n" "Submit any request in natural language. Examples:\n" "- 'I need a Python script that monitors gas prices on Arbitrum'\n" "- 'Review my smart contract for vulnerabilities'\n" "- 'Write a blog post about AI agent reputation systems'\n" "- 'Help me set up a Lightning node'\n\n" "A human concierge reviews, quotes in sats, and delivers.\n" "Payment via Lightning Network." ) - server.py:199-199 (registration)The @mcp.tool() decorator that registers list_services as an MCP tool. This is part of the FastMCP framework which auto-registers the function based on the decorator.
@mcp.tool()