Skip to main content
Glama
uarlouski

TestRail MCP Server

by uarlouski

query_project

Read-onlyIdempotent

Retrieve a single TestRail project by ID or list all available projects, enabling AI assistants to browse project data during test management workflows.

Instructions

Retrieve a single project or all projects in TestRail. Set payload.action to 'one' or 'many' to specify the operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesThe payload containing the action ('one' or 'many') and corresponding parameters

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0
  2. Removedv2.1.0
  3. Addedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond that – no mention of pagination, result ordering, or filtering behavior for the 'many' case – so it does not enrich the structured context.

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 short sentences, front-loaded with what is retrieved and then the operation selector. No filler and no redundancy.

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 read-only, single-parameter query tool whose annotations cover safety and whose schema fully documents the payload, the description is essentially sufficient. Minor gap: with no output schema, it does not hint at what a project record contains, but this is not strictly required for correct invocation.

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%: the payload oneOf branches document 'one' (with project_id) and 'many' in full detail. The description restates the action values already enumerated in the schema and adds no new meaning, which fits the baseline 3.

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 states a specific verb ('Retrieve') and resource ('project'), and clarifies the two scopes: a single project or all projects. It clearly separates query_project from resource-differentiating siblings like query_suite, query_run, and query_test without needing the schema.

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?

It tells the agent how to select the operation ('Set payload.action to one or many') but gives no guidance on when to use each mode, no prerequisites, and no reference to alternative tools. Usage is implied rather than explained.

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