Random video
random_videoGet a random short video from iFun (returns its page URL and the video file URL).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language — vi (default) or en. |
random_videoGet a random short video from iFun (returns its page URL and the video file URL).
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language — vi (default) or en. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint=true and destructiveHint=false. The description adds the random selection behavior and discloses the output structure (page URL and video file URL), providing useful context beyond the annotations. It could mention more about rate limits or language behavior, but it is adequate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the operation and clearly states the returned data. Every word earns its place; there is no fluff or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-optional-parameter tool with good annotations, the description adequately covers the operation and return value. It does not mention the language parameter or alternative tools, but the schema and sibling context fill those gaps. Overall, it is sufficiently complete for the complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema covers the only parameter 'lang' with a description, enum, and default value (vi), making schema coverage 100%. The description adds no additional meaning about this parameter, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Get'), names the resource ('random short video'), identifies the source ('from iFun'), and states the exact return values ('page URL and the video file URL'). This clearly distinguishes it from sibling tools like random_joke or get_post.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance is provided on when to use this tool versus alternatives such as random_joke or search. The intended use is implied by the name and description, but there is no mention of alternatives, exclusions, or prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.