Skip to main content
Glama
testrail-mcp
by tmurraypt

get_result_fields

Retrieve available TestRail result fields to identify valid attributes for creating, filtering, or validating test results.

Instructions

Get available result fields

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_result_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it discloses almost nothing: return shape, whether the list is project-scoped, whether it includes custom/system fields, and whether it is read-only are all unstated. Only the verb "Get" weakly implies a safe read.

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

Conciseness3/5

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

The sentence is short and front-loaded with the verb, with no filler. However, its brevity reflects under-specification rather than efficient communication—the single sentence does no real work beyond echoing the name.

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?

With no annotations, no output schema, and no parameters, the description is the sole source of information about this tool, and it omits the return value entirely—an agent cannot tell what the returned fields look like or mean. The resource is named but not characterized.

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?

The tool takes zero parameters, so the 4 baseline applies; there is no parameter meaning to add. The description neither confuses nor clarifies the (empty) input, which is acceptable here.

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

Purpose2/5

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

"Get available result fields" essentially restates the tool name (get_result_fields); the only added word is "available." It does not explain what a "result field" is (custom fields usable in results? schema metadata?) nor how it differs from the sibling get_case_fields, which appears to do the analogous job for cases.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite (e.g., "call before filtering get_results by fields"), and no mention of related alternatives such as get_case_fields or get_results. The usage is only inferable from the verb "Get."

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