> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beaconrevenue.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Refusals

> Read why Beacon's MCP server declines to serve a value, and what changes the answer.

When Beacon can't serve a value, the MCP server returns a refusal: a normal result that names the reason and, where it can, what would make the value available. It never puts a zero, an empty value or an estimate in its place.

A refusal arrives with `isError` set to `false`, so Claude reads the reason. AI tools often hide errors from the model; a refusal is not an error.

## Reasons

Every refusal carries one of five reasons. The list is fixed.

| Reason | Means | What changes the answer |
| - | - | - |
| `not_computed` | Beacon doesn't produce this information. Nothing is estimated in its place. | Nothing on your side. The sentence says what isn't provided. |
| `not_activated` | A part of Beacon this value depends on isn't switched on for your company, or Beacon couldn't confirm that it is | An admin switching that part on. If the sentence says the problem is on Beacon's side, ask again later. |
| `outside_grant` | The request falls outside your access in Beacon | A change to your access, made by an admin on [Add and manage users](https://docs.beaconrevenue.io/add-and-manage-users.md) |
| `stale_beyond_floor` | The newest value is older than your access allows. The server doesn't return this reason. | Not applicable |
| `no_grain` | Beacon holds nothing to answer with: no record for that account or month, an input it can't use, or an answer that would be partial | The request. The sentence says what to change, such as a month written like 2026-09. |

An `outside_grant` refusal carries no sentence. Saying what would grant access would reveal what lies beyond it.

Individual invoice lines are never served to anyone. A request for them is refused with `no_grain` and the sentence "Individual invoice lines are never shown. Beacon shows the figures built from them."

Each tool's page lists the sentences that tool returns: [`revenue-series`](https://docs.beaconrevenue.io/mcp/revenue-series), [`revenue-by-customer`](https://docs.beaconrevenue.io/mcp/revenue-by-customer), [`list-modules`](https://docs.beaconrevenue.io/mcp/list-modules), [`read-module`](https://docs.beaconrevenue.io/mcp/read-module).

## Fields

The refusal is one JSON object, sent as text in the tool result's `content`, or in `contents` when a resource is read.

| Field | Meaning | Present |
| - | - | - |
| `beacon` | Always `refusal` | Always |
| `reason` | One of the five reasons above | Always |
| `what_would_make_it_available` | A plain-language sentence for the person asking. It carries no internal codes. | On every reason except `outside_grant` |
| `denied_at` | Which check declined the request: `role_authority`, `entity_scope`, `data_class` or `subject_class_ceiling` | `outside_grant` only |
| `boundary_breach` | `true` when the request reached something that should never have been listed for you. It marks a fault on Beacon's side, not yours. | `outside_grant` only |
| `degraded_mode` | The name of a reduced mode Beacon runs in instead. `null` on every refusal the server returns. | `not_activated` only |
| `state` | `DECLARED-UNWIRED`: Beacon's data contract names this information and nothing serves it yet. `BLOCKED`: it is named and will not be served. | Some `not_computed` refusals |
| `pin` | The version of Beacon's data contract the answer was given under, such as `SC-2026.10.19-v0.51` | Always |

A refusal from Beacon's data read is passed on by the tool unchanged. Beacon removes its own engineering notes from every refusal before it leaves the server.

## Values held back inside an answer

An answer can serve some values and hold back others. A held-back value is never dropped: it keeps its name and says why.

| Field | Meaning |
| - | - |
| `state` | `struck` for a held-back value, `served` for a value that is present |
| `name` | The value's name |
| `field_class`, `data_class` | How Beacon classes the value |
| `reason` | Why it is held back. See below. |
| `what_would_make_it_available` | A plain-language sentence for the person asking |

| Reason | Means |
| - | - |
| `not_activated` | A source this value needs isn't connected or switched on for your company. The sentence names what is needed. |
| `outside_grant` | The value falls outside your access |
| `not_computed` | Beacon doesn't produce this value |
| `emit_off_by_default` | A revenue value Beacon holds back from AI tools. The value exists in Beacon; it isn't missing. |

## Not refusals

A few answers are protocol errors, not refusals. They are framed as JSON-RPC errors and carry no Beacon reason.

| Error | Code | Means |
| - | - | - |
| `no tool is published as '<name>' for this session` | -32602 | The tool isn't listed for you. A tool that doesn't exist gets the same answer, so it reveals nothing. |
| `no resource is published at '<uri>' for this session` | -32602 | The same, for the account resource |
| `method '<method>' is not served by this door` | -32601 | The server doesn't serve that MCP method |
| `request body is not JSON` | -32700 | The request couldn't be read |
| `expected a single JSON-RPC 2.0 request object` | -32600 | The request was a batch or not an object. Batches aren't supported. |
| `jsonrpc must be '2.0'`, `method must be a string` | -32600 | The request isn't valid JSON-RPC 2.0 |
| `the door failed to answer; nothing was served` | -32603 | A fault on Beacon's side. Nothing was served. |

A request without a valid sign-in is answered with HTTP 401 and the body `{"status": "unauthenticated"}` plus the contract version. Claude then signs you in again. The body never says which check failed.

If your company hasn't set you up, the connection completes and lists no tools and no resource. The server's `instructions` read: "Your company hasn't set you up to use Beacon through this tool. An owner can do that under What can read Beacon."

## Example

Example data: the request asks `revenue-series` for more months than it serves. The refusal sentence is the server's own.

```json Request theme={null}
{
  "jsonrpc": "2.0",
  "id": 7,
  "method": "tools/call",
  "params": {
    "name": "revenue-series",
    "arguments": { "from": "2022-01", "to": "2026-09" }
  }
}
```

The result is `{"isError": false, "content": [{"type": "text", "text": "..."}]}`. This is the `text`, parsed:

```json Response theme={null}
{
  "beacon": "refusal",
  "reason": "no_grain",
  "what_would_make_it_available": "Ask for at most 36 months, written like 2026-09.",
  "pin": "SC-2026.10.19-v0.51"
}
```

## Related

> [card] [MCP tools](https://docs.beaconrevenue.io/mcp-tools.md)
>
> Every tool, and how to connect Claude.

> [card] [Access and grants](https://docs.beaconrevenue.io/access-and-grants.md)
>
> What a grant states, and how to change one.

> [card] [revenue-series](https://docs.beaconrevenue.io/mcp/revenue-series.md)
>
> Monthly recurring revenue for your company.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.