# MCP errors

A tool failure sets `isError` and returns an explanation as text. When the owner needs to act, the result also includes structured content with `ownerAction`. Share the action and URL with the owner.

```json
{
  "content": [
    {
      "type": "text",
      "text": "{\n  \"error\": \"Production credentials need the owner.\",\n  \"ownerAction\": {\n    \"what\": \"Set the required production value on the Env page.\",\n    \"url\": \"https://app.propello.app/apps/example/env\"\n  }\n}"
    }
  ],
  "structuredContent": {
    "error": "Production credentials need the owner.",
    "ownerAction": {
      "what": "Set the required production value on the Env page.",
      "url": "https://app.propello.app/apps/example/env"
    }
  },
  "isError": true
}
```
