get_view_time
Get average view time and completion metrics. USAGE: - By video: group_by=["video_id","video_title"] - By platform: group_by=["platform"] - Daily trend: interval="day" SORTING: Use sort_by (e.g., "day_desc"). Cannot sort by view time value. Data limited to last 90 days.
This record as markdown: /tools/com-zype-mcp-server/get-view-time.md
What get_view_time does on Zype Com
AI agents call get_view_time 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_view_time is rated Low
Even though get_view_time 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_view_time 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_view_time, this is the rule to start with:
get_view_time 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_view_time call is checked against it from then on.
Questions about get_view_time
Get average view time and completion metrics. USAGE: - By video: group_by=["video_id","video_title"] - By platform: group_by=["platform"] - Daily trend: interval="day" SORTING: Use sort_by (e.g., "day_desc"). Cannot sort by view time value. Data limited to last 90 days. It is categorised as a Read tool in the Zype Com MCP Server, which means it retrieves data without modifying state.
get_view_time 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_view_time: 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_view_time 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_view_time 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_view_time. 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_view_time 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