Skip to main content
Glama

List abaplint rules

list_abap_rules
Read-onlyIdempotent

Browse the catalog of abaplint rules to find applicable checks for ABAP code, filtered by keyword or tag.

Instructions

List the abaplint rules this server can check, optionally filtered by a free-text query or a tag, returning key, title, one-line description, tags and a documentation URL per rule. Use this when deciding which rules to enable or override in lint_abap, or to discover what a Clean-ABAP-style check exists for. It does not run any analysis and does not change configuration — it is a read-only catalog. Example: list_abap_rules({ "query": "obsolete" }).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoFilter by abaplint tag, e.g. "Styleguide", "Security", "Performance", "Quickfix", "SingleFile".
queryNoCase-insensitive substring matched against rule key, title and description, e.g. "select" or "obsolete".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYesNumber of rules returned.
rulesYes
Behavior4/5

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

Annotations provide readOnlyHint, openWorldHint, and idempotentHint. The description reinforces this by stating 'it is a read-only catalog' and adds context that it does not run analysis or change configuration, which is helpful but not critical given the annotations.

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 sentences plus an example code block. Every sentence adds value: purpose, usage guidelines, and a concrete example. No unnecessary words.

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

Completeness5/5

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

Given the tool's simplicity, presence of an output schema, and complete annotations, the description covers all necessary aspects: purpose, filtering options, example, and what the tool does not do, making it fully complete.

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?

Schema coverage is 100%, so the baseline is 3. The description adds an example usage with query parameter and explains the filtering concept, providing practical context beyond the schema descriptions.

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 starts with 'List the abaplint rules this server can check' which clearly states verb and resource. It specifies optional filters and return fields, distinguishing it from siblings like lint_abap (which runs analysis) and explain_abap_rule (which explains a specific rule).

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

Usage Guidelines5/5

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

Explicitly states 'Use this when deciding which rules to enable or override in lint_abap, or to discover what a Clean-ABAP-style check exists for.' and clarifies 'It does not run any analysis and does not change configuration,' providing clear when-to-use and when-not-to-use guidance.

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/palimkarakshay/abap-mcp'

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