Skip to main content
Glama

Who would get a broadcast

dosai_preview_broadcast_audience
Read-onlyIdempotent

Count the people a broadcast would reach right now, and who would be skipped and why (no inbound ever, waiting for our reply, wrote too long ago, unsubscribed, got a broadcast recently). Read-only, nothing is sent. Run this before start_broadcast and tell the owner the numbers.

Input Schema

NameRequiredDescriptionDefault
tagNo
channelNoDefault: telegram.
project_idYesProject id, as returned by dosai_list_projects.
lead_statusNo
window_daysNoOnly people who wrote to us within N days. Up to 90.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds useful context by enumerating the skip reasons (no inbound, waiting for reply, wrote too long ago, unsubscribed, recent broadcast) and reinforcing that nothing is sent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the outcome (count and skipped reasons) and follows with the workflow instruction. No filler sentences; every clause contributes.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description carries the burden of explaining results. It describes the count plus skip reasons clearly enough for a read-only preview, though it does not specify the exact return structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 60%, with descriptions for project_id, channel default, and window_days. The description does not explain tag or lead_status semantics, so it only partially compensates for the undocumented parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Count the people a broadcast would reach right now', and adds the exact diagnostic value (who is skipped and why). It is clearly distinguishable from dosai_start_broadcast and other broadcast tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells the agent when to use it: 'Run this before start_broadcast and tell the owner the numbers.' This names the alternative action and the workflow ordering with no ambiguity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources