do_math

Evaluate an arithmetic expression with + - * / // % and parentheses. No functions, no names.

Server Nexus Core noumenon-ai/nexus-core
Category Read
Risk class Low
Parameters 00 required

What do_math does on Nexus Core

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

Why do_math needs a policy

do_math performs a pure computational read: it takes a mathematical expression as input and returns its evaluated result. No state is changed, no files are created or deleted, no external systems are called. This is a deterministic information retrieval operation with zero side effects, fitting squarely in the Read category.

From the tool's definition Tool evaluates arithmetic expressions with basic operators (+, -, *, /, //, %, **) and parentheses only. No data modification, no code execution, no external side effects. Description explicitly states 'No functions, no names.'

Questions about do_math

What does the do_math tool do? +

Evaluate an arithmetic expression with + - * / // % and parentheses. No functions, no names. It is categorised as a Read tool in the Nexus Core MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on do_math? +

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

What risk level is do_math? +

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

Can I rate-limit do_math? +

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

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

do_math is provided by the Nexus Core MCP server (noumenon-ai/nexus-core). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// THE FULL RECORD

do_math is one line of Nexus Core's registry record.

The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

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.