> ## 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.

# read-module

> Read one Beacon module's figures as its page shows them, narrowed, sorted and paged.

`read-module` returns one Beacon module's figures exactly as the module's page in Beacon reads them. You can narrow the rows to a size group, a segment or any other field the rows carry, sort them, choose which fields to see and page through them.

The tool only reads. It reads the same source the module's page reads, so Claude and Beacon can't disagree. It never adds, averages, divides or rounds: a total per segment or per size group comes back only where the module stores one.

## Who can use it

`read-module` is listed together with [`list-modules`](https://docs.beaconrevenue.io/mcp/list-modules), under the same three conditions: your access covers company-wide confidential figures, AI tools are switched on for your company, and your role opens at least one module.

It reads only the modules `list-modules` shows you. A module your role can't open is answered exactly like a module that doesn't exist.

| Your access | Customer and deal names |
| - | - |
| **You can see customer names in Beacon** | Shown |
| **You can't see customer names in Beacon** | Left out of every row, with a note saying so |
| **Limited to your own deals and customers** | Shown. Every row you receive is one of your own. |

Roles are set on [Add and manage users](https://docs.beaconrevenue.io/add-and-manage-users.md); see also [Access and grants](https://docs.beaconrevenue.io/access-and-grants.md).

## Inputs

| Name | Type | Required | Meaning | Allowed values |
| - | - | - | - | - |
| `module` | string | Yes | The module, as `list-modules` names it | Such as `churn-risk` or `segments` |
| `view` | string | No | Which view of the module. Defaults to its first view. | A view `list-modules` gives for the module |
| `filter` | object | No | Keep only rows whose field equals the value. Case doesn't matter. A list of values keeps rows matching any of them. | Field names as keys; a word, number, true or false, or a list of them as values. Such as `{"size_group": "Enterprise", "segment": ["Fintech", "Health"]}` |
| `sort_by` | string | No | Order the rows by this field | Any field the rows carry |
| `order` | string | No | Highest first or lowest first. Defaults to `desc`. | `desc`, `asc` |
| `limit` | integer | No | Rows per list. Defaults to 25. | 1 to 200 |
| `offset` | integer | No | Skip this many matching rows first, to page through a long list. Defaults to 0. | 0 or more |
| `fields` | array of strings | No | Only these fields of each row | Any fields the rows carry |

### How the rows are shaped

| Step | Rule |
| - | - |
| **Filter** | Applies to a list only when its rows carry every field you filtered on. Other lists come back whole, with a note. If no list carries them, nothing is narrowed and a note says so. |
| **Sort** | Numbers are compared as numbers, everything else as text. Rows with no value sort last either way. If no list has the field, nothing is reordered and a note says so. |
| **Limit and offset** | Apply to each list of rows in the view, after the filter and the sort |
| **Fields** | Apply to each row of those lists |
| **Lists inside a row** | Such as a deal's stage history: cut to the first 10 items |

## What it returns

One JSON object, sent as text in the tool result's `content`.

| Field | Meaning |
| - | - |
| `beacon` | Always `module` |
| `company` | Your company's name in Beacon, or its reference when no name is set |
| `company_ref` | Your company's Beacon reference |
| `module` | The module read |
| `name` | The module's name as Beacon shows it |
| `view` | The view read |
| `shows` | What the view holds |
| `lists` | One entry per list of rows in the view. See below. |
| `notes` | Sentences on what was or wasn't narrowed, cut or shown. Present only when there are any. |
| `data` | The view's figures as the module's page reads them, with each list of rows narrowed, sorted and cut |
| `envelope` | The date and freshness of the figures. Present when the view's read carries a date. |
| `as_of`, `as_of_note` | When the view carries no single date: `as_of` is `null`, and the note says each row's `computed_at` gives when Beacon worked it out |

The fields inside `data` are the module's own and differ from module to module. Each module's article under [Modules](https://docs.beaconrevenue.io/modules/overview.md) describes what it holds and how each figure is calculated, with links to the [KPI definitions](https://docs.beaconrevenue.io/definitions/overview.md).

A figure Beacon hasn't calculated is `null` or marked as not calculated, never zero and never estimated. If Claude adds rows up itself, the total is its own sum, not a Beacon figure, and the tool tells Claude to say so.

A view that records runs, such as Data integrity's checks, returns only the last run, as its page shows it.

### Each list

| Field | Meaning |
| - | - |
| `list` | Where the list sits in `data`, such as `accounts` |
| `rows` | How many rows the list holds |
| `matched` | How many matched your filter |
| `shown` | How many are in this answer |
| `filtered` | `true` when your filter was applied to this list |
| `sorted` | `true` when your sort was applied to this list |
| `filterable_fields` | Fields you can filter this list on, with their values: fields holding text or true/false, with 30 or fewer different values, and fewer different values than the list has rows. Names are never offered. |

### What travels with the figures

One `envelope` covers the whole answer. Its `as_of` is the date the view's read carries; when the read carries only when it was worked out, that time is used. `sealed_or_live` is `live` and `data_class` is `financial-sensitive`.

On this tool, `definition_id`, `definition_version`, `source_state_ref`, `confidence`, `transform_version` and `guidance` are `null`. Each field is described on [MCP tools](https://docs.beaconrevenue.io/mcp-tools.md#what-travels-with-every-value).

When each row carries its own date, the list's date is its earliest row's, and a note gives that date and when Beacon read it.

## Refusals

When the tool can't answer, it returns a refusal as a normal result, with `isError` set to `false`, so Claude sees the reason. In the sentences below, the module's name stands where Beacon puts it.

| Reason | `what_would_make_it_available` | When |
| - | - | - |
| `no_grain` | There is no module by that name that you can read. list-modules shows the ones you can. | The module doesn't exist, or your role can't open it |
| `no_grain` | Churn risk has these views: overview, customers. | The view doesn't exist. The sentence lists the module's views. |
| `no_grain` | Write the filter as field and value, like `{"segment": "Fintech"}`. | `filter` isn't an object |
| `no_grain` | Each filter value must be a word, a number, or a list of them. | A filter value is empty or isn't a word, number, true or false |
| `no_grain` | Ask for between 1 and 200 rows. | `limit` is outside 1 to 200, or not a whole number |
| `no_grain` | The offset is a whole number, 0 or more. | `offset` is negative or not a whole number |
| `no_grain` | Beacon can't read Churn risk through Claude on this server yet. | The server can't read the module's page for Claude |
| `no_grain` | Beacon could not read Churn risk just now. Try again in a minute. | The read failed or Beacon had a fault |
| `no_grain` | You don't have access to this company's figures in Beacon. | The module's page didn't recognise you |
| `no_grain` | Your role in Beacon does not show Churn risk. | The module's page refused your role |
| `no_grain` | Beacon could not read Churn risk for you. | The module's page answered any other way |

A refusal from Beacon's data read is passed on unchanged and can carry any of the reasons listed on [MCP tools](https://docs.beaconrevenue.io/mcp-tools.md#refusals).

A `fields` value that isn't a list of names is ignored, and every field is returned. If `read-module` isn't listed for your session, a call to it is answered with the protocol error `no tool is published as 'read-module' for this session`.

## Limits

| Limit | Detail |
| - | - |
| **Rows per list** | 25 by default, 200 at most |
| **Long answers** | An answer over 120,000 characters is cut by halving the rows per list until it fits, down to 5. A note gives the number shown and suggests asking for fewer fields or a narrower filter. |
| **Lists inside a row** | 10 items |
| **Plain lists of values** | 50 items |
| **Very large collections** | Beacon reads up to 60 pages of a collection. Past that, `data` carries `more_rows_not_read: true`. |
| **No open query** | Filters match stored values exactly. There's no query language and nothing is worked out on request. |

## Example

Example data: the company, the customers and every figure below are invented. The module, view and field names are Beacon's own.

```json Request theme={null}
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "read-module",
    "arguments": {
      "module": "churn-risk",
      "view": "customers",
      "filter": { "size_group": "Enterprise" },
      "sort_by": "mrr",
      "limit": 2,
      "fields": ["customer_name", "size_group", "segment", "mrr", "next_renewal_date"]
    }
  }
}
```

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

```json Response theme={null}
{
  "beacon": "module",
  "company": "Beacon Demo",
  "company_ref": "co-beacon-demo",
  "module": "churn-risk",
  "name": "Churn risk",
  "view": "customers",
  "shows": "Each customer's churn-risk facts",
  "lists": [
    {
      "list": "accounts",
      "rows": 412,
      "matched": 38,
      "shown": 2,
      "filtered": true,
      "sorted": true,
      "filterable_fields": {
        "size_group": ["Enterprise", "Mid-market", "SMB"],
        "segment": ["Fintech", "Health", "Legal Services"]
      }
    }
  ],
  "data": {
    "table": "present",
    "accounts": [
      {
        "customer_name": "Northwind Health",
        "size_group": "Enterprise",
        "segment": "Health",
        "mrr": 18400,
        "next_renewal_date": "2027-03-01"
      },
      {
        "customer_name": "Harbor Ledger",
        "size_group": "Enterprise",
        "segment": "Fintech",
        "mrr": 15250,
        "next_renewal_date": "2027-01-15"
      }
    ],
    "computed_at": "2026-10-28T09:14:00.000Z"
  },
  "envelope": {
    "definition_id": null,
    "definition_version": null,
    "source_state_ref": null,
    "computed_at": "2026-10-28T09:14:00.000Z",
    "as_of": "2026-10-28T09:14:00.000Z",
    "freshness": { "age_ms": 16260000, "floor_ms": null, "within_floor": null },
    "sealed_or_live": "live",
    "confidence": null,
    "data_class": "financial-sensitive",
    "transform_version": null,
    "guidance": null,
    "pin": "SC-2026.10.19-v0.51"
  }
}
```

`mrr` is the customer's [recurring revenue](https://docs.beaconrevenue.io/definitions/mrr.md) for last month, in your reporting currency.

## Related

> [card] [list-modules](https://docs.beaconrevenue.io/mcp/list-modules.md)
>
> The modules and views you can read.

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

> [card] [Modules](https://docs.beaconrevenue.io/modules/overview.md)
>
> What each module holds and how it calculates.


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