getUsage

Get API usage statistics

Server Random Org MCP Server qianjue-cn/truerandommcp
Category Read
Risk class Low
Parameters 00 required

What getUsage does on Random Org MCP Server

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

Why getUsage needs a policy

This tool queries and returns usage data with no side effects. It is a read-only operation that retrieves information about the API account's usage metrics. There is no capacity to modify data, execute code, delete resources, or affect financial state. The blast radius of misuse is minimal—an attacker could only learn usage patterns and quota consumption, which poses low risk.

From the tool's definition The tool name is "getUsage" and description states "Get API usage statistics" - this retrieves statistics about API consumption without modifying, deleting, or executing operations.

Questions about getUsage

What does the getUsage tool do? +

Get API usage statistics. It is categorised as a Read tool in the Random Org MCP Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on getUsage? +

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

What risk level is getUsage? +

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

Can I rate-limit getUsage? +

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

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

getUsage is provided by the Random Org MCP Server MCP server (qianjue-cn/truerandommcp). 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.