Skip to main content
Glama

list_row_rules

Read-only

The row rules of this tenant, which tables can carry them, and exactly where they take effect today. Optional: resource, role.

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

Input Schema

NameRequiredDescriptionDefault
roleNoOnly rules for this role
resourceNoOnly rules for this table

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / resource / description
      Added value: +"Only rules for this table"
    • addedInput schema / properties / role / description
      Added value: +"Only rules for this role"
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real context beyond annotations: results are tenant-scoped, include which tables can carry rules, and reflect 'exactly where they take effect today' (i.e., current evaluation state). It does not describe result shape or ordering despite that complex return.

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 fragments with no padding, and the resource scope is front-loaded before the parameter note. The phrasing 'exactly where they take effect today' is slightly loose but still compact.

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 simple two-optional-parameter read tool with full schema coverage and existing annotations, the definition is barely sufficient. The description implies a multi-part payload (rules, eligible tables, effective locations) but, with no output schema, never explains the return structure an agent would need to consume it.

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 coverage is 100%, with both parameters documented in-schema including the resource enum, so the baseline is 3. The description only restates that both are optional, adding no meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource (tenant row rules) and hints at the return content, but frames it as a noun phrase ('The row rules of this tenant...') rather than a verb+resource statement of what the tool does. It does not differentiate itself from the sibling 'preview_row_rules' or 'set_row_rule', so an agent must infer that this is the read/list counterpart.

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 when-to-use or when-not-to-use guidance, and no alternative is named despite siblings like preview_row_rules and set_row_rule existing. The only usage signal is 'Optional: resource, role', which describes filtering rather than selection context.

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.