Skip to main content
Glama

platform

List agent rules

list_agent_rules
Read-only

Lists the checkout rules a merchant can apply to buying agents (catalog of the enforcement engine). Pass a rule code to get one.

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_agent_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered and the bar is lower. The description adds only that this is the 'catalog of the enforcement engine' and that a code narrows to one rule; it says nothing about pagination, whether results are merchant-scoped or global, or what a returned rule contains, and there is no output schema to fill that gap.

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?

Two short sentences, front-loaded with the primary list behavior and followed by the single-item mode. The parenthetical 'catalog of the enforcement engine' earns its place as domain context, and there is no redundant restatement of the title.

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 read-only, single-optional-parameter listing tool with annotations covering safety, this is close to adequate. The remaining shortfall is that with no output schema the description never characterizes what a rule object looks like or how many results to expect, which an agent would want before calling it blind.

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 description coverage is 0%, so the description must carry the parameter, and it does: 'code' is identified as a rule code, and its behavioral effect (return one rule instead of the full catalog) is spelled out. The only gap is format/syntax details such as where a valid code comes from or what happens with an unknown code.

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 gives a specific verb plus resource: it lists the checkout rules a merchant can apply to buying agents, and adds the domain framing that this is the catalog backing the enforcement engine. That is enough for an agent to distinguish it from unrelated siblings such as list_capabilities or list_merchants, though it does not explicitly name or contrast any alternative.

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?

Usage is implied rather than stated: call with no arguments to enumerate the catalog, or 'pass a rule code to get one' to retrieve a single rule. That does convey the two operating modes, but there is no explicit when-to-use framing, no prerequisites (e.g., merchant scope or auth), and no guidance on when not to use it.

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.

Resources