get_advice
Pack: advice · Endpoint: https://gateway.pipeworx.io/advice/mcp
Get a specific advice slip by its numeric ID (e.g., “42”). Returns the full advice text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | The numeric ID of the advice slip to retrieve. |
Example call
Arguments
{
"id": 42
}
curl
curl -X POST https://gateway.pipeworx.io/advice/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_advice","arguments":{"id":42}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_advice', {
"id": 42
});
More examples
{
"id": 117
}
Response shape
Always returns: found, id
| Field | Type | Description |
|---|---|---|
found | boolean | False when no slip has that id |
id | number | Numeric ID of the advice slip |
advice | string | The advice text (present when found) |
reason | string | Why nothing was returned, when found is false |
hint | string | How to get a valid id, when found is false |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean",
"description": "False when no slip has that id"
},
"id": {
"type": "number",
"description": "Numeric ID of the advice slip"
},
"advice": {
"type": "string",
"description": "The advice text (present when found)"
},
"reason": {
"type": "string",
"description": "Why nothing was returned, when found is false"
},
"hint": {
"type": "string",
"description": "How to get a valid id, when found is false"
}
},
"required": [
"found",
"id"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"advice": {
"url": "https://gateway.pipeworx.io/advice/mcp"
}
}
}
See Getting Started for client-specific install steps.