Skip to main content
Glama

file_issues

Retrieve Coverity static analysis defects for a specified file, including CID, checker, severity, location, and description.

Instructions

查询指定文件的 Coverity 静态分析缺陷(CID/checker/严重级/位置/描述)。

Input Schema

NameRequiredDescriptionDefault
fileYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses what is returned (CIDs, checkers, severity, location, description), which usefully implies a read-only query, but it does not state safety profile, permissions, or result limits.

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

Conciseness4/5

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

A single front-loaded sentence with a compact parenthetical enumeration of returned fields. Efficient, with no wasted prose.

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?

For a single-parameter query tool with an output schema present, the description is largely adequate. However, it omits the file path format and gives no indication of result volume or ordering, leaving a minor gap.

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% and the single 'file' parameter has no format guidance (absolute vs relative path, expected extension). The description only restates '指定文件', adding essentially nothing beyond the parameter name.

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?

States a specific verb (查询/query), resource (Coverity 静态分析缺陷), and scope (指定文件), plus the fields surfaced (CID/checker/严重级/位置/描述). It is clearly distinct from the call-graph/entity siblings, though it does not explicitly differentiate itself by name.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the sibling tools, and no prerequisites or preconditions are stated. The usage is only implicitly inferable from the purpose statement.

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