Skip to main content
Glama

List Smart Mock Matching Rules

list_smart_mock_matching_rules
Read-only

List the matching rules that map field names to faker values for a mock server, with filters for category and built-in or custom rules.

Instructions

List the Smart Mock matching rules of one mock server — the rules that decide which faker value a field name gets. Includes the built-in catalog unless you filter it out. Requires project context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skipNoNumber of rules to skip (for pagination, default 0)
takeNoNumber of rules to return (default 50, max 100)
categoryNoFilter by category: person, location, internet, date_time, finance, identifier, media or misc
isBuiltInNotrue for built-in rules only, false for custom rules only. Omit for both.
mockServerIdYesThe public Id (Guid) of the mock server

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.1

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint=true already covering safety, the description adds meaningful behavior: it reveals that the built-in catalog is included by default unless filtered out, and that project context is required. This goes beyond the annotation without contradicting it.

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?

Three short sentences deliver the essential purpose, the distinguishing concept, and a key behavioral default without filler. The main action and scope are front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters, 100% schema coverage, and no output schema, the description covers the core purpose, scope, and notable default behavior. It slightly under-specifies pagination behavior and relationships to sibling tools, but remains sufficient for an agent to invoke it correctly.

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 100%, so the baseline is 3. The description adds value by tying the isBuiltIn parameter to a concrete behavior ('Includes the built-in catalog unless you filter it out'), which the schema alone does not convey as clearly.

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 ('List'), a specific resource ('Smart Mock matching rules'), and a scope ('of one mock server'). It also explains what those rules do ('decide which faker value a field name gets'), which clearly distinguishes this tool from the sibling list_mock_rules.

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?

No explicit guidance is given about when to use this tool versus alternatives like list_mock_rules or get_mock_rule_diagnostics. The note 'Requires project context' provides a prerequisite but not a usage context or exclusion.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/routebase-dev/routebase-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server