tool_fit_linear

Perform linear regression on data. Returns slope, intercept, R-squared, and optionally generates confidence/prediction bands.

Server origin-MCP zhang-923-ze/origin-mcp
Category Execute
Risk class High
Parameters 00 required

What tool_fit_linear does on origin-MCP

AI agents invoke tool_fit_linear to trigger actions in origin-MCP. 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 tool_fit_linear needs a policy

Linear regression is a computational operation that runs a statistical fitting algorithm and may write results (fit curves, bands) back into the Origin project. It goes beyond a simple read/query since it performs computation and potentially generates new data objects, placing it in Execute. The blast radius is medium since misuse could produce incorrect scientific results but does not delete data or move money.

From the tool's definition 'Perform linear regression on data' and 'optionally generates confidence/prediction bands' — this triggers a computational analysis operation in Origin 2025b, producing derived results and potentially modifying the project with fitted curves/bands.

Questions about tool_fit_linear

What does the tool_fit_linear tool do? +

Perform linear regression on data. Returns slope, intercept, R-squared, and optionally generates confidence/prediction bands. It is categorised as a Execute tool in the origin-MCP MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on tool_fit_linear? +

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

What risk level is tool_fit_linear? +

tool_fit_linear is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit tool_fit_linear? +

Yes. Add a rate_limit block to the tool_fit_linear 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 tool_fit_linear completely? +

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

tool_fit_linear is provided by the origin- MCP server (zhang-923-ze/origin-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.