Skip to main content
Glama

AI Phone Calls & AI Receptionist (OsmO)

List Call Rules

list_rules
Read-only

Use this when the user asks what their call screening rules are, whether one is on, or who a rule covers — and to get the ruleId that update_rule and delete_rule need. Takes no parameters. Returns every rule: ruleId, text (the rule in the user's words), prompt (the same rule as the call assistant's instruction), emoji, isActive, expiresAt (null when permanent), scope, and the people it is for (name and number). A user with no rules gets an empty list; expired rules come back with isActive false. New rules are added with add_rule.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/closed-world annotations, it discloses edge-case behavior that matters: an empty list for users with no rules and expired rules returning with isActive false, plus the meaning of expiresAt null. This is exactly the behavioral context annotations cannot carry.

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?

Front-loaded with the usage trigger and the ruleId rationale, then a compact field enumeration. The return-field list is slightly long but earns its place since no output schema exists.

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 takes on the job of describing return fields (ruleId, text, prompt, emoji, isActive, expiresAt, scope, people) and does so thoroughly, leaving nothing an agent needs before calling or interpreting results.

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?

Zero parameters, so the baseline applies; the description confirms 'Takes no parameters', which is consistent with the empty schema but adds nothing further because there is nothing to explain.

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?

States a specific verb and resource (list call screening rules) and explicitly distinguishes it from the write siblings add_rule, update_rule and delete_rule, including the fact that it supplies the ruleId those tools need.

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?

Gives concrete triggering conditions ('what their call screening rules are, whether one is on, or who a rule covers') and names the alternative for creating rules ('New rules are added with add_rule'), so the agent can route correctly without guessing.

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.