Skip to main content
Glama

Test Smart Mock

test_smart_mock
Read-only

Test Smart Mock matching for a given field name. Returns which matching rule would apply and what value it would generate. Useful for verifying Smart Mock configuration before generating rules. Requires project context (call set_context first).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldNameYesThe field name to test matching for (e.g., 'email', 'firstName', 'createdAt')
schemaTypeNoOptional JSON Schema type hint (e.g., 'string', 'integer', 'number', 'boolean')
mockServerIdYesThe public Id (Guid) of the mock server
schemaFormatNoOptional JSON Schema format hint (e.g., 'date-time', 'email', 'uri', 'uuid')

Schema Changelog

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

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The readOnlyHint annotation indicates the tool does not modify state, and the description confirms that it only tests and returns results. No side effects are mentioned, and there is no contradiction between the description and annotations.

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?

The description is concise and well-structured: it states the action, the output, the use case, and a prerequisite in just two sentences. It avoids unnecessary verbosity while conveying all essential information.

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?

The description explains what the tool returns (matching rule and generated value) and mentions the required project context. It does not provide details about output structure or edge cases (e.g., no match), but given the lack of an output schema, the information is sufficient for an agent to understand the tool's behavior.

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?

The schema provides clear descriptions for all four parameters with examples (fieldName, schemaType, mockServerId, schemaFormat), covering 100% of parameters. The tool description does not add additional parameter-level context beyond the schema, so the baseline score of 3 is appropriate.

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 clearly states the verb 'Test' and the resource 'Smart Mock matching', and explicitly mentions that it returns the matching rule and generated value. It also distinguishes its purpose by noting it is useful for verifying configuration before generating rules.

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?

The description provides a specific use case ('verifying Smart Mock configuration before generating rules') and a prerequisite ('Requires project context (call set_context first)'). It does not explicitly compare to sibling tools like preview_smart_mock or list_smart_mock_matching_rules, but the context is sufficient for most agents.

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.

TDQS

A3.9/5.0
Disambiguation4/5

The tools are mostly distinct with clear descriptions. Some pairs like get_header_policies vs get_resolved_headers or get_environment_verification vs get_monitoring_sync_status could be slightly confusing, but the descriptions clarify scope and purpose.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (get_, list_, create_, update_, manage_, etc.). Even the few bare verbs like 'search' and 'set_context' are consistent with the naming scheme.

Tool Count1/5

With 165 tools, the server is extremely heavy. This far exceeds the 'too many' threshold of 25+, making it difficult for an agent to navigate and select the right tool efficiently.

Completeness5/5

The tool surface covers a very broad API lifecycle domain: specs, environments, test cases, monitors, mock servers, security, governance, documentation, and team management. Read and write operations are present across most areas, with no obvious missing core functionality.

Resources