text_classification

Classify text using DeepInfra OpenAI-compatible API.

Server MCP DeepInfra AI Tools Server phuihock/mcp-deeinfra
Category Read
Risk class Low
Parameters 00 required

What text_classification does on MCP DeepInfra AI Tools Server

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

Why text_classification needs a policy

Text classification is a pure inference/query operation: it takes text as input, runs it through a model, and returns a classification label or score. It does not create, modify, delete, or transmit data beyond the API call itself. No persistent state is changed, making this a Read-category tool with low severity.

From the tool's definition 'Classify text' - the tool performs text classification, which is a read/query operation that analyzes input and returns a classification result without any side effects.

Questions about text_classification

What does the text_classification tool do? +

Classify text using DeepInfra OpenAI-compatible API. It is categorised as a Read tool in the MCP DeepInfra AI Tools Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on text_classification? +

Register the MCP DeepInfra AI Tools Server MCP server in PolicyLayer and add a rule for text_classification: 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 MCP DeepInfra AI Tools Server. Nothing to install.

What risk level is text_classification? +

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

Can I rate-limit text_classification? +

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

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

text_classification is provided by the MCP DeepInfra AI Tools Server MCP server (phuihock/mcp-deeinfra). 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.