Skip to main content
Glama

Assign Test

assign_test

Assign a test case to a project member by email, user ID, or yourself, or unassign it with null; the assignee watches the test and is notified on state changes.

Instructions

Assign a test to a project member by email or user id, to yourself with "me", or unassign it with null. The assignee also starts watching the test and is notified when it changes state. Someone who is not on the project gets "Owner is not a member of this project."

Input Schema

NameRequiredDescriptionDefault
assigneeYes"me", a user id, a teammate's email, or null to unassign
projectIdYesProject ID (e.g. project_<id>)
testcase_idYesPlaywright pw_test_id of the test

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false. The description goes further by disclosing side effects: the assignee starts watching the test and is notified on state changes, plus the exact error string returned when the target is not a project member.

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?

Two tightly written sentences with no filler; the primary action and identifier options come first and the notification side effect and error condition follow.

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 three-parameter mutation with no output schema, the description covers the action, the identifier forms, the unassign path, side effects, and the principal error case. Only minor items such as permission requirements are left implicit.

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?

Schema description coverage is 100%, so the schema already documents all three parameters, including the "me"/email/null semantics of assignee. The description restates that behavior rather than adding format or edge-case detail beyond it, so the baseline of 3 applies.

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 opens with a specific verb and resource: 'Assign a test to a project member'. It also states the accepted identifiers and the unassign case, which clearly separates it from siblings like watch_test or update_testcase.

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?

It tells the agent the three valid modes (email/user id, "me", null to unassign) and the failure condition for non-members. It does not name alternative tools, but the when-to-use conditions for this tool are explicit.

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