test_action
Run a single test invocation against a configured Action. Logged with errorType=
This record as markdown: /tools/deloc-mcp/test-action.md
What test_action does on Deloc
AI agents invoke test_action to trigger actions in Deloc. 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.
Why test_action is rated High
The tool triggers execution of a configured Action, which constitutes running an external operation. Effects depend on what the Action does, but the act of invoking/running it places this firmly in Execute. Severity is medium since it's scoped to a single test invocation, limiting blast radius, but the actual impact depends on what the Action performs.
From the tool's definition 'Run a single test invocation against a configured Action' — explicitly runs/executes an action
Attacks that exploit this kind of access
The rule that runs test_action safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Deloc, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For test_action, this is the rule to start with:
test_action 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 Deloc, apply this rule, and every test_action call is checked against it from then on.
Questions about test_action
Run a single test invocation against a configured Action. Logged with errorType=. It is categorised as a Execute tool in the Deloc MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Deloc MCP server in PolicyLayer and add a rule for test_action: 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 Deloc. Nothing to install.
test_action 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 test_action 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 test_action. 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.
test_action is provided by the Deloc MCP server (delocdev/deloc-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Deloc, and thousands of servers like it.
This server
Across the catalogue