Skip to main content
Glama

list_reference

Retrieves reference dictionary entries by kind (workflow, testlayer, custom_field, tag), returning IDs and names needed for test case creation; filter custom fields and tags by query.

Instructions

List a reference dictionary by kind: workflow, testlayer, custom_field or tag.

Returns id and name of every entry - they are what create_test_case wants in workflow_id, test_layer_id and custom_fields_json. custom_field is project scoped (project_id defaults to TESTOPS_PROJECT_ID) and takes query; each custom field also carries required and singleSelect, which is what decides whether a value must be given and whether it is one of a list. tag is filtered and paged on the server: the full dictionary is hundreds of thousands of entries, so pass query (a piece of the tag name) to get the ones you need.

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": {
      "kind": "<kind>"
    },
    "name": "list_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
pageNo
sizeNo
queryNo
project_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

B3.4/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden.

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?

Dense and front-loaded: the kind enumeration comes first, then return shape, then per-kind caveats in the order they matter. The line-broken formatting is slightly sprawling and a couple of clauses ('which is what decides whether...') are wordier than needed, but nothing is redundant.

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?

An output schema exists, so return values needn't be spelled out, yet the description still flags the useful extras (required, singleSelect on custom fields). The one gap is that page and size — the only pagination parameters — get no mention even though tag results are explicitly paged.

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

Parameters1/5

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

placeholder

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?

States a specific verb and resource ("List a reference dictionary") and enumerates the four kind values (workflow, testlayer, custom_field, tag), which is exactly the discriminator against siblings like list_projects or list_statuses. An agent knows precisely what comes back: id and name pairs.

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

Usage Guidelines5/5

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

Goes beyond mere context to name the downstream consumer: the returned ids are what create_test_case wants in workflow_id, test_layer_id and custom_fields_json. It also gives a conditional rule for tag ('pass query to get the ones you need' because the dictionary has hundreds of thousands of entries), turning a usage guideline into an operational necessity.

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