analytics_query

Answer analytics questions about this workspace's own data (conversations, messages, voice calls) — e.g. 'how many new conversations this week by channel' or 'inbound vs outbound messages per day this month'. Returns rows plus a chart hint. Read-only and scoped to the current workspace.

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

This record as markdown: /tools/io-github-saloprj-dialogbrain/analytics-query.md

What analytics_query does on Dialogbrain

AI agents call analytics_query 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
question string Yes The analytics question in natural language, e.g. 'how many conversations started this week, by channel?'

Parameters from the server's own tool schema.

Why analytics_query is rated Low

This tool retrieves and queries workspace analytics data with no side effects. It aggregates historical conversation, message, and call information to answer analytical questions. The explicit 'read-only' designation and scoping to current workspace confirm it poses minimal risk—it neither modifies data, executes external operations, nor affects financial systems.

From the tool's definition Tool description explicitly states 'Read-only and scoped to the current workspace' and provides examples of analytics queries (conversation counts, message statistics, call data) that retrieve and aggregate existing data without modification.

Questions about analytics_query

What does the analytics_query tool do? +

Answer analytics questions about this workspace's own data (conversations, messages, voice calls) — e.g. 'how many new conversations this week by channel' or 'inbound vs outbound messages per day this month'. Returns rows plus a chart hint. Read-only and scoped to the current workspace. It is categorised as a Read tool in the Dialogbrain MCP Server, which means it retrieves data without modifying state.

What parameters does analytics_query accept? +

analytics_query accepts 1 parameter: question. Required: question. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on analytics_query? +

Register the Dialogbrain MCP server in PolicyLayer and add a rule for analytics_query: 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 analytics_query? +

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

Can I rate-limit analytics_query? +

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

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

analytics_query 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.

// 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.