Skip to main content
Glama

ruyi_capture_wait

Wait for and fetch network capture results after starting a capture, returning full request/response payloads while draining RPC packets to prevent bridge overload.

Instructions

等待并获取抓包结果。在调用 ruyi_capture_start 后使用。默认返回完整 request/response body;内部按单包 RPC 排空,避免大批量补读拖垮 bridge。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo期望捕获的请求数,默认 5
pageIdxNo
timeoutNo等待超时(秒),默认 10
maxBodyCharsNo每个 request/response body 的显式字符上限;0 表示不截断,默认 0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses two meaningful behaviors: default returns full request/response bodies, and internally drains via single-packet RPC to avoid overwhelming the bridge. However, it does not describe error handling or timeout behavior beyond the schema.

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?

The description is two sentences, front-loaded with the purpose, and every sentence adds value. No fluff or repetition.

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?

Given no output schema and no annotations, the description covers the essential context: what it does, when to use it, what to expect (full bodies), and a performance rationale. It does not explain return structure in detail, but for a retrieval-after-start tool, this is reasonably complete.

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 75% (3 of 4 params described). The description adds some context by explaining that full bodies are returned by default, which aligns with maxBodyChars=0, and the internal drain mechanism hints at count/pageIdx behavior. However, pageIdx remains undocumented in both schema and description, so the description doesn't fully compensate.

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?

The description clearly states '等待并获取抓包结果' (wait and get capture results), specifying the exact verb and resource. It also mentions it should be used after ruyi_capture_start, which distinguishes it from capture start/stop and intercept wait siblings.

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

Usage Guidelines4/5

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

Explicitly states when to use: '在调用 ruyi_capture_start 后使用' (use after calling ruyi_capture_start). This provides clear context and sequencing, though it does not explicitly mention alternatives or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Facetomyself/ruyi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server