Skip to main content
Glama
zhouweico

mcp-kubevela

by zhouweico

vela_get_workflow_logs

Read-onlyIdempotent

Retrieve logs for a specific step of a KubeVela workflow execution. Provide step name, record, workflow, and app name.

Instructions

查看工作流执行记录中某个步骤的日志(step 必填,步骤名可先查记录详情获取)。

对应 API:GET .../workflows/{wf}/records/{record}/logs?step=

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, covering safety and idempotency. The description adds that the tool corresponds to a GET API call and that step is required but must be fetched from record details. It does not disclose additional behavior like rate limits, error handling, or invocation prerequisites beyond what annotations provide.

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?

Description is two sentences: first states purpose and a key prerequisite, second gives API endpoint. No filler, every word adds value. Efficient and focused.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has output schema, so return value documentation is not needed. However, description only addresses step, ignoring that other required parameters (app_name, workflow_name, record) are necessary for invocation. Agent must infer them from parameter descriptions. Some completeness is missing.

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?

The description only reiterates the step parameter's requirement and source, which is already stated in the schema description. It fails to mention other required parameters (app_name, workflow_name, record). Given schema description coverage is 0% (according to context), the description should compensate but does not, leaving key parameters undocumented.

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?

Description clearly states the tool views logs of a specific step in a workflow execution record. It specifies the resource (workflow step logs) and action (view), and distinguishes from sibling tools like vela_list_workflow_records (which lists records) and vela_get_application (app info). The verb '查看' and resource are unambiguous.

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?

Description notes that step is required and can be obtained from record details, providing a prerequisite hint. However, it does not explicitly state when to use this tool over alternatives, nor does it mention that other required parameters (app_name, workflow_name, record) must be available. Guidance is limited.

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/zhouweico/mcp-kubevela'

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