# get_text_document

Read text document details from a named text layer.

Agent View of the PolicyLayer registry record for `get_text_document`. HTML page: https://policylayer.com/tools/synthetic-ai-ae-mcp/get-text-document

## Facts

- Tool: `get_text_document`
- Server: Ae (`@synthetic-ai/ae-mcp`) — https://policylayer.com/tools/synthetic-ai-ae-mcp.md
- Install: `npx -y @synthetic-ai/ae-mcp`
- Homepage: https://www.npmjs.com/package/@synthetic-ai/ae-mcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 4 (2 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `compName` | string | yes | Composition name. |
| `layerName` | string | yes | Text layer name. |
| `timeoutMs` | number | no | Process timeout in milliseconds. Defaults to 120000. |
| `projectPath` | string | no | Optional absolute path to an .aep file to open first. |

Parameters from the server's own tool schema.

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

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_text_document",
    "arguments": {
      "compName": "<compName>",
      "layerName": "<layerName>"
    }
  }
}
```

## Why get_text_document is rated Low

Even though get_text_document only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.

## Use case

AI agents call get_text_document to retrieve information from Ae without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_text_document": {}
  }
}
```

## Other tools on Ae (225)

- `cancel_render` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/cancel-render.md
- `clear_guides` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/clear-guides.md
- `clear_proxy` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/clear-proxy.md
- `clear_render_queue` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/clear-render-queue.md
- `consolidate_footage` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/consolidate-footage.md
- `delete_comp` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/delete-comp.md
- `delete_items` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/delete-items.md
- `delete_layers` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/delete-layers.md
- `delete_mask` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/delete-mask.md
- `parent_layer` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/parent-layer.md
- `purge_caches` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/purge-caches.md
- `reduce_project` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/reduce-project.md
- `remove_comp_marker` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/remove-comp-marker.md
- `remove_effect` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/remove-effect.md
- `remove_guide` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/remove-guide.md
- `remove_keyframes` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/remove-keyframes.md
- `remove_layer_marker` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/remove-layer-marker.md
- `remove_property_from_mogrt` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/remove-property-from-mogrt.md
- `remove_render_queue_item` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/remove-render-queue-item.md
- `remove_shape_group` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/remove-shape-group.md
- `remove_text_animator` — Destructive — https://policylayer.com/tools/synthetic-ai-ae-mcp/remove-text-animator.md
- `new_project` — Execute — https://policylayer.com/tools/synthetic-ai-ae-mcp/new-project.md
- `run_jsx` — Execute — https://policylayer.com/tools/synthetic-ai-ae-mcp/run-jsx.md
- `run_jsx_json` — Execute — https://policylayer.com/tools/synthetic-ai-ae-mcp/run-jsx-json.md
- `ae_dialogs` — Read — https://policylayer.com/tools/synthetic-ai-ae-mcp/ae-dialogs.md
- `find_project_items` — Read — https://policylayer.com/tools/synthetic-ai-ae-mcp/find-project-items.md
- `get_ae_version` — Read — https://policylayer.com/tools/synthetic-ai-ae-mcp/get-ae-version.md
- `get_all_property_values` — Read — https://policylayer.com/tools/synthetic-ai-ae-mcp/get-all-property-values.md
- `get_comp_info` — Read — https://policylayer.com/tools/synthetic-ai-ae-mcp/get-comp-info.md
- `get_expression` — Read — https://policylayer.com/tools/synthetic-ai-ae-mcp/get-expression.md
- …and 195 more: https://policylayer.com/tools/synthetic-ai-ae-mcp.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=synthetic-ai-ae-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/synthetic-ai-ae-mcp
