Skip to main content
Glama

e2e_issue

Fetches a GitHub or GitLab issue and prepares E2E test generation, returning issue details with a test-creation prompt or automatically generating and running tests in verify mode.

Instructions

Fetch a GitHub/GitLab issue and prepare E2E test generation. Returns issue details and a prompt for test creation. Use mode "verify" to auto-generate and run tests (requires ANTHROPIC_API_KEY).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "e2e_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoProject root directory (defaults to the current working directory).
urlYesIssue URL (GitHub or GitLab)
modeNoprompt = return issue + prompt for Claude Code to create tests (default). verify = auto-generate tests via Claude API and run them.
testTypeNoTest category: 'e2e' (default) for UI-driven tests, 'api' for backend API tests
authTokenNoJWT or auth token to inject into localStorage before running tests (for authenticated apps)
authStorageKeyNolocalStorage key name for the auth token (default: "accessToken")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It usefully discloses that verify mode calls the Claude API and requires ANTHROPIC_API_KEY, which is meaningful context that the schema does not provide. It omits whether private GitHub/GitLab issues need credentials, what happens when tests fail, and any rate-limit or side-effect behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is three short sentences with no wasted wording, and the core action is stated first. The middle sentence ('Returns issue details and a prompt for test creation') slightly overlaps with the first, which keeps it from being maximally tight.

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?

For a six-parameter tool with no annotations and no output schema, the description covers its purpose, its two operating modes, and the key external dependency. The authToken and authStorageKey parameters and the return shape are left to the schema and are not described here, but their schema coverage is complete enough that this is a minor gap.

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 already 100%, so the baseline score is 3. The description adds real meaning beyond the schema by tying mode 'verify' to the ANTHROPIC_API_KEY requirement and by describing the prompt/verify split in workflow terms, rather than just repeating the enum 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 uses a specific verb and resource: 'Fetch a GitHub/GitLab issue and prepare E2E test generation'. It also states what is returned (issue details plus a prompt), which separates it from siblings such as e2e_run or e2e_create_test. It stops short of naming an alternative tool explicitly.

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 two modes are explained well enough for an agent to choose between them: 'prompt' (the default) returns an issue plus a prompt, and 'verify' auto-generates and runs tests. However, the description does not say when to prefer a sibling such as e2e_create_test or e2e_run instead, and it does not state any exclusions.

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