> For the complete documentation index, see [llms.txt](https://api-docs.hengelending.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.hengelending.com/mcp/roles.md). Agents can also search and read this documentation through its [MCP server](https://api-docs.hengelending.com/~gitbook/mcp).

# Roles

The Henge roles a tool can admit, and what each one sees.

{% hint style="info" %}
Generated from the MCP server's code. Do not edit this page in GitBook: changes are overwritten on the next sync.
{% endhint %}

Every tool lists the roles that can call it, and results are scoped to the caller's role: an empty result usually means the record is outside your scope, not that it does not exist. A user may hold several roles. These are all the roles any tool admits.

| Role                | What it sees and does                                                                                                                                                                                   |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Admin`             | Henge staff. Sees every user and every loan.                                                                                                                                                            |
| `Processor`         | A loan processor. Sees all loans and all users org-wide, across every company; reports and searches that aggregate narrow it to its own company's users.                                                |
| `CompanyProcessor`  | A processor confined to its own company, usually held beside Agent. Sees every loan and every user of that company.                                                                                     |
| `CompanyAdmin`      | A company's administrator. Can open any loan of its own company by id and manage the licenses of the company and its users. It does not widen searches or reports; those follow the user's other roles. |
| `Agent`             | A licensed loan officer who originates loans. Sees their own loans, loans they referred, and users they assist or manage.                                                                               |
| `DualLicensedAgent` | A loan officer who is also a licensed real-estate agent. The same scope as Agent.                                                                                                                       |
| `ConciergeKey`      | A partner or team-lead account that owns a set of loan officers (the loan officers whose `ckUserId` is its user id). Sees the loans, tasks, users, licenses and pricing of those managed agents.        |
| `PreLicensedAgent`  | An agent who is not yet licensed. Sees the loans they referred, and nothing else.                                                                                                                       |
| `Assistant`         | A user bound as an assistant to one or more loan officers. Sees those loan officers' loans and users, alongside their own.                                                                              |
| `Client`            | A borrower, signed in through the borrower portal. Sees only the loans on which they are a borrower and their own pricing scenarios; most tools are hidden from them.                                   |
| `Employee`          | Added to every signed-in Henge staff caller on MCP alongside their loan roles, so holding it says nothing about loan access. On its own it admits only the issue-report tools.                          |
| `User`              | Granted to every signed-in Henge staff caller on MCP alongside their loan roles. On its own it admits only the issue-report tools.                                                                      |

See [Scoping](https://api-docs.hengelending.com/mcp/connecting/troubleshooting.md#scoping) for where the roles differ on a given tool, and the [Glossary](https://api-docs.hengelending.com/mcp/glossary.md) for the terms used here.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://api-docs.hengelending.com/mcp/roles.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
