Skip to main content
Glama

generate_csharp_nunit

Generates a C# NUnit and Selenium test class from the current browser session, converting recorded actions into runnable test code with configurable namespace and test name.

Instructions

Generate a C# NUnit + Selenium test class from the current browser session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceNoSeleniumTests
test_nameNoRecordedFlowTests

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, but it only states the generation action and source. It does not disclose whether the test class is returned as text, written to a file, whether an active session is required, or whether the tool has any side effects on the browser session.

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 a single, front-loaded sentence with no filler or repetition. It immediately states the output type, target stack, and input context, making it easy for an agent to parse quickly.

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

Completeness2/5

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

Given the lack of annotations, no output schema, and 0% parameter documentation, the description is not complete enough on its own. An agent is left uncertain about the return value or artifact produced, prerequisites, and how the optional parameters shape the output, which are key for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not mention 'namespace' or 'test_name' at all. The parameter names and defaults offer some intuitive meaning, but the description adds no explicit explanation of how these values affect the generated class, so it does not compensate for the lack of schema documentation.

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 uses a specific verb ('Generate') and names the exact resource it produces: 'a C# NUnit + Selenium test class.' It also identifies the input source ('from the current browser session'), which clearly differentiates this tool from sibling generators for Java, Python, Gherkin, and other frameworks.

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 gives clear context: this tool is for generating C# NUnit + Selenium test code from the active browser session. This makes the selection criteria reasonably explicit relative to sibling code-generation tools, though it does not explicitly name alternatives or state when not to use it.

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

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/hakanngul/testfly-mcp'

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