get_plays
Get video play counts - how many times content was played. USAGE: - By video: group_by=["video_id"] or group_by=["video_id","video_title"] - By country: group_by=["country"] - By platform: group_by=["platform"] - Daily trend: interval="day" - For specific video: video_id="..." SORTING: Use sort_b...
This record as markdown: /tools/com-zype-mcp-server/get-plays.md
What get_plays does on Zype Com
AI agents call get_plays to retrieve information from Zype Com without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | — | Max results to return (default: 200, max: 500) |
offset | number | — | Offset for pagination |
country | string | — | Filter by country code (e.g., "US", "GB", "CA") |
sort_by | string | — | Sort by field+direction. Default: day_desc. NOTE: Cannot sort by metric value - for top N by plays/views, fetch all and sort client-side. |
group_by | array | — | Group results by fields. Options: video_id, video_title, playlist_id, playlist_name, platform, consumer_id, country, domain, app_id, app_name, content_type |
interval | string | — | Time interval for grouping data (default: day) |
platform | string | — | Filter by platform (e.g., "ios", "android", "web", "roku") |
video_id | string | — | Filter by specific video ID |
playlist_id | string | — | Filter by playlist ID |
start_date_gte | string | — | Start date filter (YYYY-MM-DD). Max 90 days ago. Defaults to 2 weeks ago. |
start_date_lte | string | — | End date filter (YYYY-MM-DD). Defaults to today. |
Parameters from the server's own tool schema.
Why get_plays is rated Low
Even though get_plays only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.
Risk signalsHigh parameter count (11 properties)
Attacks that exploit this kind of access
The rule that runs get_plays safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Zype Com, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_plays, this is the rule to start with:
get_plays is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Zype Com, apply this rule, and every get_plays call is checked against it from then on.
Questions about get_plays
Get video play counts - how many times content was played. USAGE: - By video: group_by=["video_id"] or group_by=["video_id","video_title"] - By country: group_by=["country"] - By platform: group_by=["platform"] - Daily trend: interval="day" - For specific video: video_id="..." SORTING: Use sort_by (e.g., "day_desc", "video_id_asc"). NOTE: Cannot sort by play count - for "top N videos by plays", fetch with group_by=["video_id"] and sort results client-side. Data limited to last 90 days. Defaults to last 2 weeks if no dates specified. It is categorised as a Read tool in the Zype Com MCP Server, which means it retrieves data without modifying state.
get_plays accepts 11 parameters: limit, offset, country, sort_by, group_by, interval, platform, video_id, playlist_id, start_date_gte, start_date_lte. The full parameter table on this page comes from the server's own tool schema.
Register the Zype Com MCP server in PolicyLayer and add a rule for get_plays: 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 Zype Com. Nothing to install.
get_plays is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_plays 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.
Set action: deny in the PolicyLayer policy for get_plays. 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.
get_plays is provided by the Zype Com MCP server (zype/zype-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Zype Com, and thousands of servers like it.
This server
Across the catalogue