Skip to main content
Glama

Rules MCP Server

get_rules_for_writing_tests

Retrieve user-specific guidelines for writing tests, including naming conventions, structure, assertions, mocking, and coverage. Use before writing or modifying test code to ensure adherence to defined patterns and preferences.

Instructions

Use when: writing any type of test, modifying existing tests, reviewing test structure, or making decisions about test implementation. What it provides: User-specific rules, patterns, and preferences for test composition including naming conventions, structure, assertions, mocking approaches, and coverage requirements. How to use: ALWAYS invoke this tool BEFORE writing or modifying any test code to retrieve the current testing guidelines, then apply these rules throughout your implementation.

Input Schema

NameRequiredDescriptionDefault
languageYesThe programming language the test is written in.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "language": { "description": "The programming language the test is written in.", "enum": [ "typescript", "python" ], "type": "string" } }, "required": [ "language" ], "type": "object" }

Other Tools from Rules MCP Server

Related Tools

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/markacianfrani/mcp-pattern-language'

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