Skip to main content
Glama
dam2452

vastai-mcp

by dam2452

show_instance_logs

Fetch logs from a Vast.ai instance by ID, with optional tail line limit, and get an S3 URL to download them.

Instructions

Request instance logs (PUT /instances/request_logs/{id}). Logs are uploaded to S3; the response contains a URL to fetch them.

Examples: show_instance_logs(instance_id=12345) show_instance_logs(instance_id=12345, tail=5000)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tailNo
instance_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently reveals a non-obvious behavior: logs are uploaded to S3 and the response contains a URL to fetch them, rather than returning logs directly. It also mentions the PUT method, which is unusual for a 'show' operation. However, it omits details like URL expiration or asynchronous processing, which would be additional valuable context.

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 concise and well-structured: a single sentence introducing the action, a second sentence disclosing the S3 URL behavior, and two clear example calls. Every sentence adds value and the examples are front-loaded to illustrate usage without unnecessary prose.

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 the presence of an output schema (which defines return values) and the tool's moderate complexity (2 parameters), the description covers the core behavior adequately: endpoint, S3 URL, and example calls. The only notable gap is the undefined meaning of the 'tail' parameter, which is a minor omission for an otherwise sufficiently described tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for parameter meaning. The example calls show parameter names and values (e.g., tail=5000), but they do not explain the semantics of 'tail' (e.g., number of lines to fetch) or the role of instance_id beyond what the schema already provides. The description adds no meaningful semantic detail beyond the schema's type/default information.

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 the tool's purpose with a specific verb ('Request') and resource ('instance logs'), including the exact HTTP endpoint (PUT /instances/request_logs/{id}). It also distinguishes the tool from siblings by noting that logs are uploaded to S3 and a URL is returned, which is unique among the listed tools.

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

Usage Guidelines3/5

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

The examples imply typical usage (e.g., show_instance_logs(instance_id=12345) and show_instance_logs(instance_id=12345, tail=5000)), but the description does not explicitly state when to use this tool versus alternatives like get_instance or execute_command. There are no clear exclusions or alternative tool references.

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/dam2452/vastai-mcp'

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