Skip to main content
Glama

Truvek Design

Explain a lint rule

design_explain_rule
Read-onlyIdempotent

Full reasoning, affected clients, fix and examples for a rule id from design_lint. Omit rule_id to list every rule.

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": "design_explain_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add context, and it does: it enumerates what the response contains, which the agent could not otherwise know since there is no output schema. It does not discuss errors for unknown rule ids or output size for the list-all case.

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?

Two short sentences, no filler, with the primary payload described first and the edge-case behavior (omit the id) second. Every clause earns its place.

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 simple read-only lookup with no output schema, the description supplies the return-contents summary and the parameter-omission behavior, which is most of what an agent needs. Minor gaps remain around invalid-id handling and result size for the list-everything case.

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

Parameters4/5

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

With one optional parameter at 0% schema coverage, the description compensates well: it establishes that rule_id is an identifier obtained from design_lint and defines the omitted-argument behavior as listing every rule. It does not state the expected id format, so not a 5.

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?

The description names the specific return payload (reasoning, affected clients, fix, examples) scoped to a rule id sourced from design_lint, which is enough to tell it apart from design_lint itself (which presumably runs the lint). It is a noun-phrase fragment rather than a clear verb+resource statement, so it stops just short of a 5.

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?

It implies the workflow — get a rule id from design_lint, then explain it — and states the no-argument behavior ('Omit rule_id to list every rule'). There is no explicit when-not guidance or naming of alternatives such as design_get_guide, so usage is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.