temperature_random_generate

Pack: temperature-random · Endpoint: https://gateway.pipeworx.io/temperature-random/mcp

Fetches current temperature from 10 cities worldwide, sums them, returns last two digits. Rigorous methodology.

Example call

Arguments

{
  "unit": "celsius"
}

curl

curl -X POST https://gateway.pipeworx.io/temperature-random/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"temperature_random_generate","arguments":{"unit":"celsius"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('temperature_random_generate', {
  "unit": "celsius"
});

More examples

{
  "unit": "fahrenheit"
}

Response shape

FieldTypeDescription
resultnumberLast two digits of sum of temperatures from 10 cities
Full JSON Schema
{
  "type": "object",
  "properties": {
    "result": {
      "type": "number",
      "description": "Last two digits of sum of temperatures from 10 cities"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "temperature-random": {
      "url": "https://gateway.pipeworx.io/temperature-random/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026