validate_strategy_script

Validate a deterministic custom strategy script before saving it. Probes external JSON sources and returns path-based validation errors.

Server Refinore jusscubs/refinore-mcp
Category Read
Risk class Low
Parameters 00 required

What validate_strategy_script does on Refinore

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

Why validate_strategy_script needs a policy

The tool performs validation and probing of external data sources to check a strategy script before it is saved. It returns validation errors but does not execute, create, modify, or delete any strategies or blockchain state. The validation is a prerequisite check (Read category) rather than an Execute operation, which would occur when the strategy is actually applied.

From the tool's definition Tool description states it 'Validate[s]' and 'Probes external JSON sources and returns path-based validation errors' — these are read-only validation operations with no data modification, deletion, or execution of the strategy itself.

Questions about validate_strategy_script

What does the validate_strategy_script tool do? +

Validate a deterministic custom strategy script before saving it. Probes external JSON sources and returns path-based validation errors. It is categorised as a Read tool in the Refinore MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on validate_strategy_script? +

Register the Refinore MCP server in PolicyLayer and add a rule for validate_strategy_script: 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 Refinore. Nothing to install.

What risk level is validate_strategy_script? +

validate_strategy_script is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit validate_strategy_script? +

Yes. Add a rate_limit block to the validate_strategy_script 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.

How do I block validate_strategy_script completely? +

Set action: deny in the PolicyLayer policy for validate_strategy_script. 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.

What MCP server provides validate_strategy_script? +

validate_strategy_script is provided by the Refinore MCP server (jusscubs/refinore-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.