adrata_api_request
Governed low-level Adrata API request. Read calls run directly except sensitive denied surfaces. Writes default to dry-run; a live write requires dryRun:false plus approved:true, a reason, and an idempotencyKey, and additionally requires the connection to hold the matching write:* scope (connect_...
This record as markdown: /tools/adrata-starfield-mcp/adrata-api-request.md
What adrata_api_request does on Starfield
AI agents invoke adrata_api_request to trigger actions in Starfield. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
| Parameter | Type | Required | Description |
|---|---|---|---|
body | object | — | |
path | string | Yes | Relative Adrata API path, e.g. /api/v1/opportunities/opp_123 |
dryRun | boolean | — | Defaults to true for write methods. Set false to execute a live write; the connection must also hold the matching write:* scope. |
method | string | — | |
params | object | — | |
reason | string | — | Required for a live write. Recorded as the audit reason (X-Adrata-Reason). |
approved | boolean | — | Required (true) for a live write. Records that the caller confirmed the mutation; it does not by itself grant scope. |
idempotencyKey | string | — | Required for a live write. Sent as Idempotency-Key so a retry cannot double-apply. |
realtimePublish | object | — | Optional realtime event to publish after a successful live write. |
Parameters from the server's own tool schema.
Why adrata_api_request is rated High
adrata_api_request triggers real processes with real consequences. An agent gone sideways doesn't fire it once. It starts dozens of builds, sends mass notifications, or burns through compute before anyone looks up.
Risk signalsAccepts file system path (path) · Accepts raw HTML/template content (body) · High parameter count (16 properties)
Attacks that exploit this kind of access
The rule that runs adrata_api_request safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Starfield, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For adrata_api_request, this is the rule to start with:
adrata_api_request stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Starfield, apply this rule, and every adrata_api_request call is checked against it from then on.
Questions about adrata_api_request
Governed low-level Adrata API request. Read calls run directly except sensitive denied surfaces. Writes default to dry-run; a live write requires dryRun:false plus approved:true, a reason, and an idempotencyKey, and additionally requires the connection to hold the matching write:* scope (connect_workspace with writeAccess:true). Without that scope the API rejects the call with 403 insufficient_scope. Use only after a higher-level tool is not available. It is categorised as a Execute tool in the Starfield MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
adrata_api_request accepts 9 parameters: body, path, dryRun, method, params, reason, approved, idempotencyKey, realtimePublish. Required: path. The full parameter table on this page comes from the server's own tool schema.
Register the Starfield MCP server in PolicyLayer and add a rule for adrata_api_request: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Starfield. Nothing to install.
adrata_api_request is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the adrata_api_request rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for adrata_api_request. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
adrata_api_request is provided by the Starfield MCP server (@adrata/starfield-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Starfield, and thousands of servers like it.
Across the catalogue