Skip to main content
Glama

List sign-up rules

list_signup_rules
Read-only

Lists sign-up rules for admins and tests an email/IP to show whether a sign-up would be allowed, blocked, or held—without creating it.

Instructions

Admins only: the sign-up rules in front of SIGNUP_MODE, oldest first (at most 500). A rule matches by ip (address or CIDR), email (glob), domain or abuse flag and holds the sign-up for approval (not told why), blocks it or allows it; block beats allow beats hold, no match follows SIGNUP_MODE. test { email, ip } says what they would do, creating nothing. Returns { rules: [{ id, kind, pattern, action, note, hits, lastHitAt }], max, test: { action, rule, matched, flags } | null }.

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

Input Schema

NameRequiredDescriptionDefault
testNoAlso say what the rules would do to a sign-up with this email (and address), without signing anyone up

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.36.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond readOnlyHint=true, the description discloses ordering, the 500-rule cap, rule matching dimensions (ip, email glob, domain, abuse flag), precedence (block beats allow beats hold), the SIGNUP_MODE fallback, and that test writes nothing. The exact return shape is spelled out, which is essential given there is no output schema.

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?

The admin restriction and resource scope are front-loaded, and every clause carries real information. The single dense sentence with semicolons is efficient though slightly taxing to parse, which keeps it short of a 5.

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?

With no output schema, the description fully compensates by enumerating the returned fields (rules array, max, test result) and explaining precedence and fallback behavior. Nothing an agent needs to interpret results is missing.

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 100%, so both nested fields already carry their own documentation. The description restates that test specifies email and ip and adds useful dry-run framing, but adds little field-level meaning beyond what the schema already provides, so the baseline 3 applies.

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 names the exact resource (sign-up rules in front of SIGNUP_MODE), the ordering (oldest first) and the cap (at most 500), and its scope is clearly distinct from the manage_signup_rules sibling. An agent knows precisely what this tool returns without opening the schema.

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 states the admin-only prerequisite and explains the dry-run use of the test parameter ('says what they would do, creating nothing'), which gives clear context for invocation. It stops short of explicitly routing mutations to manage_signup_rules, so the alternative is only implied by the sibling name rather than stated.

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

Deploy Server

Other Tools