Skip to main content
Glama

AI Receptionist & Answering Service (OsmO)

List Call Rules

list_rules
Read-only

Use this when the user asks what their 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 receptionist's instruction), emoji, isActive, expiresAt (null when permanent), scope, and the people it is for. No rules gives an empty list.

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.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds value beyond that by enumerating the returned fields, noting expiresAt is null when permanent, and disclosing that no rules yields an empty list rather than an error. It does not discuss ordering or pagination, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Usage triggers are front-loaded, followed by the downstream purpose, then a compact return-value inventory. Every sentence carries information an agent needs and none restates the title or annotations.

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?

There is no output schema, so the description must carry the return contract, and it does — field-by-field including the null-permanent convention and the empty-list case. For a zero-parameter read tool, nothing material is missing.

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?

With zero parameters and 100% schema coverage the baseline is 4, and the description explicitly confirms 'takes no parameters', removing any doubt about required input. No further parameter meaning is available to add.

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 states a specific verb and resource ('list' rules) and immediately scopes it to user intent ('what their screening rules are, whether one is on, or who a rule covers'). It also names the concrete downstream use — supplying the ruleId that update_rule and delete_rule require — which separates it cleanly from those siblings.

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?

It gives explicit trigger phrasing tied to user questions and an explicit relationship to two named alternatives ('to get the ruleId that update_rule and delete_rule need'). An agent knows both when to call this and why a follow-up mutation would need its result.

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.