Skip to main content
Glama

help

Read-onlyIdempotent

Retrieve Qwen Code CLI usage instructions or check the installed version by passing "version".

Instructions

Get the Qwen Code CLI help text or installed version

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
commandNoPass "version" for the installed version only

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered without the description. The description adds the useful behavioral fact that output is either help text or a version string, but says nothing about the form, length, or scope of that help text, leaving the return behavior only partially characterized.

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?

A single front-loaded sentence with no filler; the two possible outputs are stated up front and nothing needs trimming.

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?

For a zero-required-parameter, read-only introspection tool with full annotation coverage, the description plus schema tell an agent everything needed to call it correctly. A minor gap remains around what the help text actually covers, but with no output schema the statement of the two return types is sufficient.

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 description coverage is 100% and the single parameter's enum and meaning are already documented in the schema, so the description only echoes the version option via "or installed version." Baseline 3 applies when the schema does the heavy lifting; no additional syntax or default behavior is contributed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get the Qwen Code CLI help text or installed version" states a specific verb (get) and two concrete resources (help text, version), so the agent knows exactly what comes back. It does not name or distinguish against any sibling, but the siblings (qwen, listSessions, ping) are self-evidently unrelated operations.

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?

Usage is only implied: the description indicates this is where you go for CLI documentation or version info, and the enum on `command` hints at the version-only path. There is no explicit when-to-use/when-not statement or named alternative, though for a self-contained help endpoint there is little genuine ambiguity to resolve.

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

Deploy Server

Other Tools