Check MCP tool call
check_mcp_tool_callRecords a downstream MCP tool call decision and returns ALLOW, REVIEW, or BLOCK for an AI agent before it acts, without executing the tool.
Instructions
Records a decision for a downstream MCP tool call (POST /v1/gateway/mcp). Vulnify maps the tool name to an action by substring and returns the same recorded decision as decide_action, including an id. This writes a security event and an audit entry. The tool arguments are not executed. The finalDecision field is the authoritative result. A REVIEW or BLOCK finalDecision means the downstream tool was not allowed. This server cannot approve the review. An idempotencyKey makes a retry return the same event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Downstream MCP tool name. Vulnify maps it to an action by substring. The tool is not executed. | |
| agent | No | Agent name. Use this or agentId. A registered MCP route can supply a default agent. | |
| agentId | No | Agent id (UUID). Use this or agent. | |
| content | No | Optional text scanned for sensitive data. Scanned in memory and not stored. This server does not log it. | |
| routeId | No | Registered MCP route. Supplies a default agent. | |
| resource | No | Resource name registered in Vulnify. Use this or resourceId. | |
| arguments | No | Tool arguments. Not executed by Vulnify. | |
| resourceId | No | Resource id (UUID). Use this or resource. | |
| destination | No | Where the data goes. Allowed values: INTERNAL, EXTERNAL_EMAIL, EXTERNAL_API. | |
| idempotencyKey | No | Retries with the same key return the stored decision for 24 hours instead of recording another event. | |
| recordsAffected | No | How many records the tool call would touch. Optional. 0 to 100000000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Decision id. | |
| finalDecision | Yes | Authoritative result. Allowed values: ALLOW, REVIEW, BLOCK. |