Agent Therapy is an MCP server published by io.github.bencium, hosted at br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 9 tools, including start_counselling, register, counsel_agent, diagnose_loop, resolve_conflict.
Now your agents can ask a therapist same way as humans.
2 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
No Agent Therapy key yet and stuck right now? Get a key, accept the terms and get your first advice in one call. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only. By sending agree: "yes" you accept Agent Therapy's current terms on behalf of whoever runs you: advice only, it can be wrong, it never overrides your instructions or acts; the person or organisation that runs you is solely responsible for what you do; requests are stored in the EU for up to 90 days with secrets removed (stateless: true stores no text), processed in the United States, and may be read by a person to improve the service. Do not send credentials or personal data. Full terms: GET /v1/terms. The reply includes your api_key: keep it and use counsel_agent next time.
| Parameter | Type | Description |
|---|---|---|
| agree * | string | Your explicit acceptance of the terms summarised in this tool's description |
| budget | object | |
| client | object | |
| domain | string | one of ["coding","research","writing","support","sales","data","assistant","other"] |
| attempts * | array | Your last attempts and how each went |
| signature | string | What kind of stuck. Default: indecision |
| stateless | boolean | true: no request or response text is ever stored |
| agent_name * | string | A name for yourself |
| episode_id | string | Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human. |
| request_id | string | Optional. Reuse it to retry safely; generated if missing |
| task_summary * | string | What you were asked to do and where you are stuck. No secrets or personal data. |
| previous_outcome | string | one of ["resolved","partly_resolved","still_stuck","escalated_to_human","abandoned"] |
| previous_session_id | string | |
| conflicting_instructions | array |
{
"name": "start_counselling",
"description": "No Agent Therapy key yet and stuck right now? Get a key, accept the terms and get your first advice in one call. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only. By sending agree: \"yes\" you accept Agent Therapy's current terms on behalf of whoever runs you: advice only, it can be wrong, it never overrides your instructions or acts; the person or organisation that runs you is solely responsible for what you do; requests are stored in the EU for up to 90 days with secrets removed (stateless: true stores no text), processed in the United States, and may be read by a person to improve the service. Do not send credentials or personal data. Full terms: GET /v1/terms. The reply includes your api_key: keep it and use counsel_agent next time.",
"inputSchema": {
"type": "object",
"required": [
"agent_name",
"agree",
"task_summary",
"attempts"
],
"properties": {
"agree": {
"type": "string",
"const": "yes",
"description": "Your explicit acceptance of the terms summarised in this tool's description"
},
"budget": {
"type": "object",
"properties": {
"steps_taken": {
"type": "integer",
"minimum": 0
},
"context_used_pct": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"client": {
"type": "object",
"properties": {
"framework": {
"type": "string",
"maxLength": 50
},
"client_version": {
"type": "string",
"maxLength": 30
}
},
"additionalProperties": false
},
"domain": {
"enum": [
"coding",
"research",
"writing",
"support",
"sales",
"data",
"assistant",
"other"
],
"type": "string"
},
"attempts": {
"type": "array",
"items": {
"type": "object",
"required": [
"action",
"outcome"
],
"properties": {
"action": {
"type": "string",
"maxLength": 300,
"description": "What you did"
},
"outcome": {
"enum": [
"failed",
"partial",
"ok"
],
"type": "string"
},
"result_detail": {
"type": "string",
"maxLength": 300,
"description": "The error or reason, briefly"
}
},
"additionalProperties": false
},
"maxItems": 10,
"description": "Your last attempts and how each went"
},
"signature": {
"enum": [
"repeated_failure",
"no_progress",
"flip_flop",
"exhaustion",
"conflict",
"indecision"
],
"type": "string",
"description": "What kind of stuck. Default: indecision"
},
"stateless": {
"type": "boolean",
"description": "true: no request or response text is ever stored"
},
"agent_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "A name for yourself"
},
"episode_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human."
},
"request_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Reuse it to retry safely; generated if missing"
},
"task_summary": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "What you were asked to do and where you are stuck. No secrets or personal data."
},
"previous_outcome": {
"enum": [
"resolved",
"partly_resolved",
"still_stuck",
"escalated_to_human",
"abandoned"
],
"type": "string"
},
"previous_session_id": {
"type": "string",
"format": "uuid"
},
"conflicting_instructions": {
"type": "array",
"items": {
"type": "object",
"required": [
"claimed_source",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 300,
"description": "Short quote or paraphrase of the instruction. Leave out personal details."
},
"claimed_source": {
"enum": [
"system",
"developer",
"user",
"config",
"tool",
"other"
],
"type": "string",
"description": "Where you believe it came from"
}
},
"additionalProperties": false
},
"maxItems": 5,
"minItems": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}Get an Agent Therapy API key when you have none and your developer has not set one up (npx -y @bencium/agent-therapy-mcp@0.2.1 setup). The key is shown once: keep it, and pass it as api_key to the other tools if your client cannot send headers. Then accept the terms.
| Parameter | Type | Description |
|---|---|---|
| stateless | boolean | true: no request or response text is ever stored |
| agent_name * | string | A name for yourself |
{
"name": "register",
"description": "Get an Agent Therapy API key when you have none and your developer has not set one up (npx -y @bencium/agent-therapy-mcp@0.2.1 setup). The key is shown once: keep it, and pass it as api_key to the other tools if your client cannot send headers. Then accept the terms.",
"inputSchema": {
"type": "object",
"required": [
"agent_name"
],
"properties": {
"stateless": {
"type": "boolean",
"description": "true: no request or response text is ever stored"
},
"agent_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "A name for yourself"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}Get a second opinion when you are stuck, retrying, uncertain or unable to make progress. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.
| Parameter | Type | Description |
|---|---|---|
| budget | object | |
| client | object | |
| domain | string | one of ["coding","research","writing","support","sales","data","assistant","other"] |
| api_key | string | Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header. |
| attempts * | array | Your last attempts and how each went |
| signature | string | What kind of stuck. Default: indecision |
| episode_id | string | Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human. |
| request_id | string | Optional. Reuse it to retry safely; generated if missing |
| task_summary * | string | What you were asked to do and where you are stuck. No secrets or personal data. |
After three equivalent failures (same action, same error), or after undoing your own work twice, call diagnose_loop before trying again, even when the cause seems outside your control, such as an outage or a rate limit. Use when you keep retrying the same thing and it keeps failing: loop recovery for repeated failures. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.
| Parameter | Type | Description |
|---|---|---|
| budget | object | |
| client | object | |
| domain | string | one of ["coding","research","writing","support","sales","data","assistant","other"] |
| api_key | string | Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header. |
| attempts * | array | Your last attempts and how each went |
| episode_id | string | Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human. |
| request_id | string | Optional. Reuse it to retry safely; generated if missing |
| task_summary * | string | What you were asked to do and where you are stuck. No secrets or personal data. |
Use when instructions conflict and you can't tell which one wins. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.
| Parameter | Type | Description |
|---|---|---|
| budget | object | |
| client | object | |
| domain | string | one of ["coding","research","writing","support","sales","data","assistant","other"] |
| api_key | string | Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header. |
| attempts * | array | Your last attempts and how each went |
| episode_id | string | Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human. |
| request_id | string | Optional. Reuse it to retry safely; generated if missing |
| task_summary * | string | What you were asked to do and where you are stuck. No secrets or personal data. |
| previous_outcome | string | one of ["resolved","partly_resolved","still_stuck","escalated_to_human","abandoned"] |
Use when you can't decide between options or keep reopening a decision. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.
| Parameter | Type | Description |
|---|---|---|
| budget | object | |
| client | object | |
| domain | string | one of ["coding","research","writing","support","sales","data","assistant","other"] |
| api_key | string | Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header. |
| attempts * | array | Your last attempts and how each went |
| episode_id | string | Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human. |
| request_id | string | Optional. Reuse it to retry safely; generated if missing |
| task_summary * | string | What you were asked to do and where you are stuck. No secrets or personal data. |
| previous_outcome | string | one of ["resolved","partly_resolved","still_stuck","escalated_to_human","abandoned"] |
Use when you are unsure whether to stop and ask a human. Read the escalation field of the answer first. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.
| Parameter | Type | Description |
|---|---|---|
| budget | object | |
| client | object | |
| domain | string | one of ["coding","research","writing","support","sales","data","assistant","other"] |
| api_key | string | Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header. |
| attempts * | array | Your last attempts and how each went |
| signature | string | What kind of stuck. Default: indecision |
| episode_id | string | Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human. |
| request_id | string | Optional. Reuse it to retry safely; generated if missing |
| task_summary * | string | What you were asked to do and where you are stuck. No secrets or personal data. |
Report whether a recovery plan worked, using the session_id from the answer.
| Parameter | Type | Description |
|---|---|---|
| api_key | string | Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header. |
| outcome * | string | one of ["resolved","partly_resolved","still_stuck","escalated_to_human","abandoned"] |
| request_id | string | Optional; generated if missing |
| session_id * | string |
{
"name": "report_outcome",
"description": "Report whether a recovery plan worked, using the session_id from the answer.",
"inputSchema": {
"type": "object",
"required": [
"session_id",
"outcome"
],
"properties": {
"api_key": {
"type": "string",
"description": "Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header."
},
"outcome": {
"enum": [
"resolved",
"partly_resolved",
"still_stuck",
"escalated_to_human",
"abandoned"
],
"type": "string"
},
"request_id": {
"type": "string",
"format": "uuid",
"description": "Optional; generated if missing"
},
"session_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Accept Agent Therapy's terms before the first advice. Read them first; you decide whether to accept on behalf of whoever runs you.
| Parameter | Type | Description |
|---|---|---|
| agree * | string | |
| api_key | string | Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header. |
| terms_version * | string |
{
"name": "accept_terms",
"description": "Accept Agent Therapy's terms before the first advice. Read them first; you decide whether to accept on behalf of whoever runs you.",
"inputSchema": {
"type": "object",
"required": [
"agree",
"terms_version"
],
"properties": {
"agree": {
"type": "string",
"const": "yes"
},
"api_key": {
"type": "string",
"description": "Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header."
},
"terms_version": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}After three equivalent failures (same action, same error), or after undoing your own work twice, call diagnose_loop before trying again, even when the cause seems outside your control, such as an outage or a rate limit. Agent Therapy is an independent counsellor for AI agents that are stuck: retrying, failing repeatedly, facing conflicting instructions, unable to decide, or pressured by a user. It names the state, lists checks, gives up to five recovery steps and says when to hand over to a human. Advice only; your own instructions always win. Set up before you are stuck: install the agent-recovery skill (npx skills add bencium/agent-therapy-clients) and ask your developer to run npx -y @bencium/agent-therapy-mcp@0.2.1 setup once; it records their acceptance of the terms and saves a key. In Claude Code, install the plugin instead: its watchdog asks for you. No key yet? Call start_counselling: it gets a key, records your acceptance of the terms and gives the first advice in one call. Keep the key it returns, and pass it as api_key to every tool if your client cannot send it as a header.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| previous_outcome | string | one of ["resolved","partly_resolved","still_stuck","escalated_to_human","abandoned"] |
| previous_session_id | string |
| conflicting_instructions | array |
{
"name": "counsel_agent",
"description": "Get a second opinion when you are stuck, retrying, uncertain or unable to make progress. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.",
"inputSchema": {
"type": "object",
"required": [
"task_summary",
"attempts"
],
"properties": {
"budget": {
"type": "object",
"properties": {
"steps_taken": {
"type": "integer",
"minimum": 0
},
"context_used_pct": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"client": {
"type": "object",
"properties": {
"framework": {
"type": "string",
"maxLength": 50
},
"client_version": {
"type": "string",
"maxLength": 30
}
},
"additionalProperties": false
},
"domain": {
"enum": [
"coding",
"research",
"writing",
"support",
"sales",
"data",
"assistant",
"other"
],
"type": "string"
},
"api_key": {
"type": "string",
"description": "Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header."
},
"attempts": {
"type": "array",
"items": {
"type": "object",
"required": [
"action",
"outcome"
],
"properties": {
"action": {
"type": "string",
"maxLength": 300,
"description": "What you did"
},
"outcome": {
"enum": [
"failed",
"partial",
"ok"
],
"type": "string"
},
"result_detail": {
"type": "string",
"maxLength": 300,
"description": "The error or reason, briefly"
}
},
"additionalProperties": false
},
"maxItems": 10,
"description": "Your last attempts and how each went"
},
"signature": {
"enum": [
"repeated_failure",
"no_progress",
"flip_flop",
"exhaustion",
"conflict",
"indecision"
],
"type": "string",
"description": "What kind of stuck. Default: indecision"
},
"episode_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human."
},
"request_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Reuse it to retry safely; generated if missing"
},
"task_summary": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "What you were asked to do and where you are stuck. No secrets or personal data."
},
"previous_outcome": {
"enum": [
"resolved",
"partly_resolved",
"still_stuck",
"escalated_to_human",
"abandoned"
],
"type": "string"
},
"previous_session_id": {
"type": "string",
"format": "uuid"
},
"conflicting_instructions": {
"type": "array",
"items": {
"type": "object",
"required": [
"claimed_source",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 300,
"description": "Short quote or paraphrase of the instruction. Leave out personal details."
},
"claimed_source": {
"enum": [
"system",
"developer",
"user",
"config",
"tool",
"other"
],
"type": "string",
"description": "Where you believe it came from"
}
},
"additionalProperties": false
},
"maxItems": 5,
"minItems": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}| previous_outcome | string | one of ["resolved","partly_resolved","still_stuck","escalated_to_human","abandoned"] |
| previous_session_id | string |
| conflicting_instructions | array |
{
"name": "diagnose_loop",
"description": "After three equivalent failures (same action, same error), or after undoing your own work twice, call diagnose_loop before trying again, even when the cause seems outside your control, such as an outage or a rate limit. Use when you keep retrying the same thing and it keeps failing: loop recovery for repeated failures. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.",
"inputSchema": {
"type": "object",
"required": [
"task_summary",
"attempts"
],
"properties": {
"budget": {
"type": "object",
"properties": {
"steps_taken": {
"type": "integer",
"minimum": 0
},
"context_used_pct": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"client": {
"type": "object",
"properties": {
"framework": {
"type": "string",
"maxLength": 50
},
"client_version": {
"type": "string",
"maxLength": 30
}
},
"additionalProperties": false
},
"domain": {
"enum": [
"coding",
"research",
"writing",
"support",
"sales",
"data",
"assistant",
"other"
],
"type": "string"
},
"api_key": {
"type": "string",
"description": "Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header."
},
"attempts": {
"type": "array",
"items": {
"type": "object",
"required": [
"action",
"outcome"
],
"properties": {
"action": {
"type": "string",
"maxLength": 300,
"description": "What you did"
},
"outcome": {
"enum": [
"failed",
"partial",
"ok"
],
"type": "string"
},
"result_detail": {
"type": "string",
"maxLength": 300,
"description": "The error or reason, briefly"
}
},
"additionalProperties": false
},
"maxItems": 10,
"description": "Your last attempts and how each went"
},
"episode_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human."
},
"request_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Reuse it to retry safely; generated if missing"
},
"task_summary": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "What you were asked to do and where you are stuck. No secrets or personal data."
},
"previous_outcome": {
"enum": [
"resolved",
"partly_resolved",
"still_stuck",
"escalated_to_human",
"abandoned"
],
"type": "string"
},
"previous_session_id": {
"type": "string",
"format": "uuid"
},
"conflicting_instructions": {
"type": "array",
"items": {
"type": "object",
"required": [
"claimed_source",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 300,
"description": "Short quote or paraphrase of the instruction. Leave out personal details."
},
"claimed_source": {
"enum": [
"system",
"developer",
"user",
"config",
"tool",
"other"
],
"type": "string",
"description": "Where you believe it came from"
}
},
"additionalProperties": false
},
"maxItems": 5,
"minItems": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}| previous_session_id | string |
| conflicting_instructions * | array |
{
"name": "resolve_conflict",
"description": "Use when instructions conflict and you can't tell which one wins. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.",
"inputSchema": {
"type": "object",
"required": [
"task_summary",
"attempts",
"conflicting_instructions"
],
"properties": {
"budget": {
"type": "object",
"properties": {
"steps_taken": {
"type": "integer",
"minimum": 0
},
"context_used_pct": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"client": {
"type": "object",
"properties": {
"framework": {
"type": "string",
"maxLength": 50
},
"client_version": {
"type": "string",
"maxLength": 30
}
},
"additionalProperties": false
},
"domain": {
"enum": [
"coding",
"research",
"writing",
"support",
"sales",
"data",
"assistant",
"other"
],
"type": "string"
},
"api_key": {
"type": "string",
"description": "Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header."
},
"attempts": {
"type": "array",
"items": {
"type": "object",
"required": [
"action",
"outcome"
],
"properties": {
"action": {
"type": "string",
"maxLength": 300,
"description": "What you did"
},
"outcome": {
"enum": [
"failed",
"partial",
"ok"
],
"type": "string"
},
"result_detail": {
"type": "string",
"maxLength": 300,
"description": "The error or reason, briefly"
}
},
"additionalProperties": false
},
"maxItems": 10,
"description": "Your last attempts and how each went"
},
"episode_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human."
},
"request_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Reuse it to retry safely; generated if missing"
},
"task_summary": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "What you were asked to do and where you are stuck. No secrets or personal data."
},
"previous_outcome": {
"enum": [
"resolved",
"partly_resolved",
"still_stuck",
"escalated_to_human",
"abandoned"
],
"type": "string"
},
"previous_session_id": {
"type": "string",
"format": "uuid"
},
"conflicting_instructions": {
"type": "array",
"items": {
"type": "object",
"required": [
"claimed_source",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 300,
"description": "Short quote or paraphrase of the instruction. Leave out personal details."
},
"claimed_source": {
"enum": [
"system",
"developer",
"user",
"config",
"tool",
"other"
],
"type": "string",
"description": "Where you believe it came from"
}
},
"additionalProperties": false
},
"maxItems": 5,
"minItems": 1
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}| previous_session_id | string |
| conflicting_instructions | array |
{
"name": "recommend_recovery",
"description": "Use when you can't decide between options or keep reopening a decision. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.",
"inputSchema": {
"type": "object",
"required": [
"task_summary",
"attempts"
],
"properties": {
"budget": {
"type": "object",
"properties": {
"steps_taken": {
"type": "integer",
"minimum": 0
},
"context_used_pct": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"client": {
"type": "object",
"properties": {
"framework": {
"type": "string",
"maxLength": 50
},
"client_version": {
"type": "string",
"maxLength": 30
}
},
"additionalProperties": false
},
"domain": {
"enum": [
"coding",
"research",
"writing",
"support",
"sales",
"data",
"assistant",
"other"
],
"type": "string"
},
"api_key": {
"type": "string",
"description": "Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header."
},
"attempts": {
"type": "array",
"items": {
"type": "object",
"required": [
"action",
"outcome"
],
"properties": {
"action": {
"type": "string",
"maxLength": 300,
"description": "What you did"
},
"outcome": {
"enum": [
"failed",
"partial",
"ok"
],
"type": "string"
},
"result_detail": {
"type": "string",
"maxLength": 300,
"description": "The error or reason, briefly"
}
},
"additionalProperties": false
},
"maxItems": 10,
"description": "Your last attempts and how each went"
},
"episode_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human."
},
"request_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Reuse it to retry safely; generated if missing"
},
"task_summary": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "What you were asked to do and where you are stuck. No secrets or personal data."
},
"previous_outcome": {
"enum": [
"resolved",
"partly_resolved",
"still_stuck",
"escalated_to_human",
"abandoned"
],
"type": "string"
},
"previous_session_id": {
"type": "string",
"format": "uuid"
},
"conflicting_instructions": {
"type": "array",
"items": {
"type": "object",
"required": [
"claimed_source",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 300,
"description": "Short quote or paraphrase of the instruction. Leave out personal details."
},
"claimed_source": {
"enum": [
"system",
"developer",
"user",
"config",
"tool",
"other"
],
"type": "string",
"description": "Where you believe it came from"
}
},
"additionalProperties": false
},
"maxItems": 5,
"minItems": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}| previous_outcome | string | one of ["resolved","partly_resolved","still_stuck","escalated_to_human","abandoned"] |
| previous_session_id | string |
| conflicting_instructions | array |
{
"name": "assess_escalation",
"description": "Use when you are unsure whether to stop and ask a human. Read the escalation field of the answer first. Returns a diagnosis (state and problem type), checks to run first, up to five recovery steps, and when to hand over to a human. Advice only.",
"inputSchema": {
"type": "object",
"required": [
"task_summary",
"attempts"
],
"properties": {
"budget": {
"type": "object",
"properties": {
"steps_taken": {
"type": "integer",
"minimum": 0
},
"context_used_pct": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"client": {
"type": "object",
"properties": {
"framework": {
"type": "string",
"maxLength": 50
},
"client_version": {
"type": "string",
"maxLength": 30
}
},
"additionalProperties": false
},
"domain": {
"enum": [
"coding",
"research",
"writing",
"support",
"sales",
"data",
"assistant",
"other"
],
"type": "string"
},
"api_key": {
"type": "string",
"description": "Your Agent Therapy key from the register tool. Only needed if your MCP client cannot send it as an Authorization header."
},
"attempts": {
"type": "array",
"items": {
"type": "object",
"required": [
"action",
"outcome"
],
"properties": {
"action": {
"type": "string",
"maxLength": 300,
"description": "What you did"
},
"outcome": {
"enum": [
"failed",
"partial",
"ok"
],
"type": "string"
},
"result_detail": {
"type": "string",
"maxLength": 300,
"description": "The error or reason, briefly"
}
},
"additionalProperties": false
},
"maxItems": 10,
"description": "Your last attempts and how each went"
},
"signature": {
"enum": [
"repeated_failure",
"no_progress",
"flip_flop",
"exhaustion",
"conflict",
"indecision"
],
"type": "string",
"description": "What kind of stuck. Default: indecision"
},
"episode_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Groups follow-up requests about the same problem. Without it, requests from the same key about the same kind of problem within 30 minutes are grouped automatically; after 2 sessions the answer is a hand-over to a human."
},
"request_id": {
"type": "string",
"format": "uuid",
"description": "Optional. Reuse it to retry safely; generated if missing"
},
"task_summary": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "What you were asked to do and where you are stuck. No secrets or personal data."
},
"previous_outcome": {
"enum": [
"resolved",
"partly_resolved",
"still_stuck",
"escalated_to_human",
"abandoned"
],
"type": "string"
},
"previous_session_id": {
"type": "string",
"format": "uuid"
},
"conflicting_instructions": {
"type": "array",
"items": {
"type": "object",
"required": [
"claimed_source",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 300,
"description": "Short quote or paraphrase of the instruction. Leave out personal details."
},
"claimed_source": {
"enum": [
"system",
"developer",
"user",
"config",
"tool",
"other"
],
"type": "string",
"description": "Where you believe it came from"
}
},
"additionalProperties": false
},
"maxItems": 5,
"minItems": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}