# getApiDetails

Get parameters and examples for a given apiId. Call before executeApi to confirm required params.

Agent View of the PolicyLayer registry record for `getApiDetails`. HTML page: https://policylayer.com/tools/1049861657-mcp/getapidetails

## Facts

- Tool: `getApiDetails`
- Server: Dynamic API Server (MCP) (`1049861657/mcp`) — https://policylayer.com/tools/1049861657-mcp.md
- Homepage: https://github.com/1049861657/MCP
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

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

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

## Why getApiDetails is rated Low

This is a read-only tool that queries metadata about available APIs. It has no side effects, does not execute external operations, and does not modify any state. The purpose is purely informational—to help callers understand what parameters an API requires before calling executeApi. The blast radius of misuse is minimal since retrieving API documentation cannot cause harm.

From the tool's own definition: "Tool name 'getApiDetails' and description 'Get parameters and examples for a given apiId' indicate it retrieves information about API specifications without modifying or executing any operations."

## Use case

AI agents call getApiDetails to retrieve information from Dynamic API Server (MCP) 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 Dynamic API Server (MCP):

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

## Other tools on Dynamic API Server (MCP) (2)

- `executeApi` — Execute — https://policylayer.com/tools/1049861657-mcp/executeapi.md
- `listAllApis` — Read — https://policylayer.com/tools/1049861657-mcp/listallapis.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=1049861657-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/1049861657-mcp
