# get_frame_by_query

Search a video's transcript and extract a frame at the best matching moment.

Agent View of the PolicyLayer registry record for `get_frame_by_query`. HTML page: https://policylayer.com/tools/0xchamin-mcptube/get-frame-by-query

## Facts

- Tool: `get_frame_by_query`
- Server: Mcptube Vision (`0xchamin/mcptube`) — https://policylayer.com/tools/0xchamin-mcptube.md
- Homepage: https://github.com/0xchamin/mcptube
- Risk category: Read (Low risk)
- Registry record: grade D, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_frame_by_query",
    "arguments": {}
  }
}
```

## Why get_frame_by_query is rated Low

This tool retrieves and queries existing data (video transcripts and frames) without side effects. It performs a search and content extraction, which are characteristic Read operations. The blast radius of misuse is minimal—an agent could retrieve unintended video content but cannot modify, delete, or execute arbitrary operations.

From the tool's own definition: "Tool description states it 'search[es] a video's transcript and extract[s] a frame' — both read-only operations. Transcript search queries data; frame extraction retrieves visual content. No modifications, deletions, or external executions."

## Use case

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

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Mcptube Vision:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_frame_by_query": {}
  }
}
```

## Other tools on Mcptube Vision (20)

- `remove_video` — Destructive — https://policylayer.com/tools/0xchamin-mcptube/remove-video.md
- `ask_video` — Read — https://policylayer.com/tools/0xchamin-mcptube/ask-video.md
- `ask_videos` — Read — https://policylayer.com/tools/0xchamin-mcptube/ask-videos.md
- `classify_video` — Read — https://policylayer.com/tools/0xchamin-mcptube/classify-video.md
- `discover_videos` — Read — https://policylayer.com/tools/0xchamin-mcptube/discover-videos.md
- `generate_report` — Read — https://policylayer.com/tools/0xchamin-mcptube/generate-report.md
- `generate_report_from_query` — Read — https://policylayer.com/tools/0xchamin-mcptube/generate-report-from-query.md
- `get_frame` — Read — https://policylayer.com/tools/0xchamin-mcptube/get-frame.md
- `get_frame_data` — Read — https://policylayer.com/tools/0xchamin-mcptube/get-frame-data.md
- `get_info` — Read — https://policylayer.com/tools/0xchamin-mcptube/get-info.md
- `list_videos` — Read — https://policylayer.com/tools/0xchamin-mcptube/list-videos.md
- `synthesize` — Read — https://policylayer.com/tools/0xchamin-mcptube/synthesize.md
- `wiki_ask` — Read — https://policylayer.com/tools/0xchamin-mcptube/wiki-ask.md
- `wiki_history` — Read — https://policylayer.com/tools/0xchamin-mcptube/wiki-history.md
- `wiki_list` — Read — https://policylayer.com/tools/0xchamin-mcptube/wiki-list.md
- `wiki_search` — Read — https://policylayer.com/tools/0xchamin-mcptube/wiki-search.md
- `wiki_show` — Read — https://policylayer.com/tools/0xchamin-mcptube/wiki-show.md
- `wiki_toc` — Read — https://policylayer.com/tools/0xchamin-mcptube/wiki-toc.md
- `add_video` — Write — https://policylayer.com/tools/0xchamin-mcptube/add-video.md
- `save_tags` — Write — https://policylayer.com/tools/0xchamin-mcptube/save-tags.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=0xchamin-mcptube · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0xchamin-mcptube
