Skip to main content
Glama
@event4u/agent-config

@event4u/agent-config

Official

list_rules

Read-onlyIdempotent

Lists available rules as paginated resource URIs and names, with optional descriptions and sources, so agents can discover which rule bodies to fetch.

Instructions

Rules exposed as resources; fetch a body with read_resource_body. Pages of 50 URIs and names; detail:"full" adds the description and source; count is the total.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
detailNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv20.4.0
    • addedInput schema / properties / detail
      Added value: +{
      +  "enum": [
      +    "index",
      +    "full"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / page
      Added value: +{
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. First observedv1.0.0

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), so the description's value is in operational detail, which it supplies: page size of 50, what detail='full' adds (description and source), and that count is the overall total. It does not describe ordering or whether URIs are stable identifiers.

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 dense sentence-set with the sibling redirect front-loaded and no filler. Semicolon chaining with mixed quoting styles makes it slightly harder to parse, but every clause conveys information.

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 two-parameter, non-destructive lister with no output schema, the description covers the result shape (URIs plus names), pagination granularity, the total count, and the detail toggle. What 'rules' actually are and how many pages typically exist remain unstated, but that is a minor gap.

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 0%, so the description must carry all parameter meaning. It explains the detail enum well ('full' adds description and source), but page is only implied by 'Pages of 50' — no explicit statement that page selects which 50, or that paging is 1-based as the schema minimum suggests.

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 resource (rules) and states they are exposed as resources, then immediately routes body retrieval to read_resource_body. It distinguishes itself from that sibling clearly, though the listing verb itself is only implied by the tool name and the phrase 'Pages of 50 URIs and names'.

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?

It tells the agent when to use this tool (to get URI/name pairs) versus read_resource_body (to fetch a body), which is the key routing decision. It also explains the index vs. full detail choice, though it gives no explicit guidance on when to pick a page or how to iterate pages.

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