# document

A other tool on the TeXFlow MCP server.

Agent View of the PolicyLayer registry record for `document`. HTML page: https://policylayer.com/tools/aaronsb-texflow-mcp/document

## Facts

- Tool: `document`
- Server: TeXFlow (`aaronsb/texflow-mcp`) — https://policylayer.com/tools/aaronsb-texflow-mcp.md
- Homepage: https://github.com/aaronsb/texflow-mcp
- Risk category: Other (Low risk)
- Registry record: grade B, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "document",
    "arguments": {}
  }
}
```

## Why document is rated Low

With no description available, it's impossible to determine what this tool does. The name 'document' alone is ambiguous—it could mean creating a document (Write), retrieving one (Read), or something else entirely. Given the server context of collaborative document authoring, it likely relates to document management, but without evidence, confidence is very low. Defaulting to Other with low severity.

From the tool's own definition: "Tool name is 'document' with an empty description. No information about what the tool does is provided."

## Use case

AI agents call document as a supporting operation in TeXFlow workflows.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches TeXFlow:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "document": {
      "limits": [
        {
          "counter": "document_rate",
          "window": "minute",
          "max": 60,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on TeXFlow (5)

- `render` — Execute — https://policylayer.com/tools/aaronsb-texflow-mcp/render.md
- `queue` — Other — https://policylayer.com/tools/aaronsb-texflow-mcp/queue.md
- `reference` — Other — https://policylayer.com/tools/aaronsb-texflow-mcp/reference.md
- `edit` — Write — https://policylayer.com/tools/aaronsb-texflow-mcp/edit.md
- `layout` — Write — https://policylayer.com/tools/aaronsb-texflow-mcp/layout.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=aaronsb-texflow-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/aaronsb-texflow-mcp
