API & MCP

Everything a person can do on Prompt-to-Tool Router, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Prompt-to-Tool Router

Takes a natural-language request (English or German) and ranks the usefulweb.site tools and workflows that can solve it, using transparent keyword matching (TF-IDF with synonyms), and proposes a sequence of tool calls.

Inputs of Prompt-to-Tool Router
FieldTypeDefaultDescription
request (required)textarea—What do you want to do?
maxResultsinteger5Max tools

Example request

Moving into a new apartment

curl -X POST https://prompttotoolrouter.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"request":"I'm moving into a new apartment. Can you help me plan everything and avoid unnecessary expenses? Will my sofa fit through the door?"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "prompt-to-tool-router": { "type": "http", "url": "https://prompttotoolrouter.usefulweb.site/mcp" }
  }
}