Skip to main content
Glama
josemachado-vp

SF Assistant MCP Server

generate_rule_test

Generate a comprehensive test case matrix for business rules, covering condition paths, edge cases, and negative scenarios to validate rule logic.

Instructions

Generate a comprehensive test case matrix for a business rule.

Produces test cases covering:

  • Each condition path (positive scenarios)

  • Edge cases (empty fields, null values, boundary conditions)

  • Negative cases (conditions that should NOT trigger the rule)

  • Coverage matrix showing which paths are tested

Each test case includes preconditions, action, and expected results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_specYesThe rule specification output from generate_rule_spec
include_edge_casesNoInclude edge case test scenarios
include_negative_testsNoInclude negative/no-match test cases

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries full burden. It explains that test cases cover condition paths, edge cases, negative cases, and a coverage matrix, and that each test case includes preconditions, action, and expected results. This is good behavioral context without 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, uses bullet points for clarity, and front-loads the purpose. Every sentence adds meaningful detail without redundancy.

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?

Given the tool has an output schema (not shown but stated) and three parameters, the description provides sufficient context: it explains inputs, coverage types, and test case structure. No critical gaps remain.

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 100% schema description coverage, the schema already documents all parameters. The description adds value by specifying that rule_spec comes from generate_rule_spec and by clarifying the purpose of include_edge_cases and include_negative_tests beyond their default values.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Generate a comprehensive test case matrix for a business rule' and lists coverage types. It implicitly relates to sibling tools like generate_rule_spec but does not explicitly differentiate from siblings such as simulate_rule_impact or trace_rule_execution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage after obtaining a rule spec from generate_rule_spec, as indicated in the parameter schema. However, it does not explicitly state when to use this tool versus alternatives, nor does it provide when-not-to-use guidance.

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/josemachado-vp/MCP-SF'

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