Skip to main content
Glama
Deslord319

harmonyos-dev-mcp

by Deslord319

logs_query

Query HarmonyOS logs for errors or business markers. Default mode finds actionable errors; marker mode confirms success or failure markers.

Instructions

Query HarmonyOS logs for errors or business markers.

Default mode focuses on actionable errors. Use mode="markers" to confirm success or failure markers such as picker save results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pidNo
tagNo
logsNo
modeNoerrors
levelNo
linesNo
domainNo
keywordNo
secondsNo
end_timeNo
device_idNo
save_pathNo
time_exprNo
hdc_serverNo
input_fileNo
start_timeNo
tag_searchNo
input_filesNo
package_nameNo
context_linesNo
include_crashNo
marker_keywordsNo
realtime_wait_msNo
fallback_to_historicalNo
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only mentions default behavior (error-focused) and a mode for markers, but does not disclose read-only nature, side effects, rate limits, or authentication needs. The 24 parameters are not addressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

While the description is concise (2 sentences), it is under-specified for a tool with 24 parameters. It lacks structure and does not earn its place by adding value beyond the name. Additional sentences or bullet points for key parameters would improve it.

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

Completeness1/5

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

Given the high parameter count (24), no schema descriptions, no output schema, and no annotations, the description is severely incomplete. It does not explain return format, filtering logic, time ranges, or how to use most parameters.

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

Parameters1/5

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

Schema description coverage is 0%, and the description only covers the 'mode' parameter minimally. Over 20 parameters (e.g., pid, tag, lines, keyword) are completely undocumented, providing virtually no semantic guidance beyond the schema.

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 that the tool queries HarmonyOS logs for errors or business markers, with a specific verb and resource. It distinguishes from sibling tools (UI actions/app management) by focusing on log querying.

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?

The description provides clear context: default mode for errors and explicit guidance on using mode parameter for markers. However, it does not explicitly state when not to use this tool or reference alternatives, though sibling differentiation is clear.

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/Deslord319/harmonyos-dev-mcp'

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