ai_filters_test

Test a message against an AI filter to check whether it would match. This tool embeds the provided message using Voyage AI and computes the cosine similarity between the message vector and the filter's stored reference vector. It returns the similarity score, whether the message would match (simi...

SERVERDialogbrain SOURCEhttps://api.dialogbrain.com/mcp
Low RISK CLASS
Category Read
Parameters 22 required
Recommended Allowedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-saloprj-dialogbrain/ai-filters-test.md

What ai_filters_test does on Dialogbrain

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

ParameterTypeRequiredDescription
message string Yes The message text to test. This is embedded and compared against the filter's reference vector via cosine similarity.
filter_id integer Yes ID of the filter to test against

Parameters from the server's own tool schema.

Why ai_filters_test is rated Low

This tool performs a read-only similarity comparison between a message vector and a stored filter vector. It retrieves and analyzes data (similarity scores and threshold values) without creating, modifying, deleting, or executing any side-effect operations. The use cases listed (verify, tune, debug) are all diagnostic/observational in nature. This is a pure data retrieval and comparison operation.

From the tool's definition Tool description states it 'test[s] a message against an AI filter' and 'returns the similarity score, whether the message would match...and the filter's threshold value.' The verb 'test' and 'check' indicate query/verification operations.

Questions about ai_filters_test

What does the ai_filters_test tool do? +

Test a message against an AI filter to check whether it would match. This tool embeds the provided message using Voyage AI and computes the cosine similarity between the message vector and the filter's stored reference vector. It returns the similarity score, whether the message would match (similarity >= threshold), and the filter's threshold value. Use this to: - Verify a filter works as intended before using it in a trigger - Tune the threshold by testing borderline messages - Debug why a message did or did not match a filter in production Returns: {similarity: float, matched: bool, threshold: float} Note: This tool calls the Voyage AI embedding API to embed the test message. It is categorised as a Read tool in the Dialogbrain MCP Server, which means it retrieves data without modifying state.

What parameters does ai_filters_test accept? +

ai_filters_test accepts 2 parameters: message, filter_id. Required: message, filter_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on ai_filters_test? +

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

What risk level is ai_filters_test? +

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

Can I rate-limit ai_filters_test? +

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

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

ai_filters_test is provided by the Dialogbrain MCP server (https://api.dialogbrain.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Dialogbrain, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Dialogbrain's. Pull the full record:

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.