Skip to main content
Glama
Qase MCP Server

Qase MCP Server

Official
by qase-tms

QQL syntax help

qql_help
Read-onlyIdempotent

Returns a QQL reference section for a given topic—overview, syntax, entities, operators, functions, examples, aggregation, or enum values—so you can write valid queries and avoid rejected searches.

Instructions

Read the QQL reference before writing a query. Pass a topic: overview, syntax, entities, operators, functions, examples, aggregation or enumValues. Field names differ per entity and from the write tools, and a query naming an unknown attribute is rejected — read entities first. Cost: no API call, about 2ms; cheaper than one rejected qql_search.

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": {
      "topic": "<topic>"
    },
    "name": "qql_help"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYesWhich section to return (required — one section per call): - overview: what QQL is, overall query structure, subscription requirement - syntax: structure, ordering, custom fields, case-sensitivity, boolean and date fields - entities: the fields available on each entity — field names are NOT uniform across entities, so read this before writing a query against an unfamiliar one - operators: comparison, matching, set, null, and logical operators - functions: currentUser, activeUsers, and the now/startOf*/endOf* date functions - examples: ready-made queries for common questions - aggregation: SELECT (COUNT/MIN/MAX/AVG/SUM/FIRST/LAST), GROUP BY, HAVING — use this to count or summarise instead of paging through rows - enumValues: the valid values for priority, severity, and the per-entity status fields

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changedv2.1.1
    • changedInput schema / properties / topic / description
      Previous value: -"Specific help topic, or omit for general overview"New value: +"Which section to return (required — one section per call):\n- overview: what QQL is, overall query structure, subscription requirement\n- syntax: structure, ordering, custom fields, case-sensitivity, boolean and date fields\n- entities: the fields available on each entity — field names are NOT uniform across entities, so read this before writing a query against an unfamiliar one\n- operators: comparison, matching, set, null, and logical operators\n- functions: currentUser, activeUsers, and the now/startOf*/endOf* date functions\n- examples: ready-made queries for common questions\n- aggregation: SELECT (COUNT/MIN/MAX/AVG/SUM/FIRST/LAST), GROUP BY, HAVING — use this to count or summarise instead of paging through rows\n- enumValues: the valid values for priority, severity, and the per-entity status fields"
    • changedInput schema / properties / topic / enum
      Previous value: -[
      -  "syntax",
      -  "entities",
      -  "operators",
      -  "functions",
      -  "examples"
      -]New value: +[
      +  "overview",
      +  "syntax",
      +  "entities",
      +  "operators",
      +  "functions",
      +  "examples",
      +  "aggregation",
      +  "enumValues"
      +]
    • addedInput schema / required
      Added value: +[
      +  "topic"
      +]
  3. First observedv1.1.7

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, and closed-world, so the safety profile is covered. The description adds context the annotations cannot: no API call, ~2ms cost, and one section per call. It does not describe the return format (prose vs. structured), which is the only real gap.

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?

Three tight sentences: the directive first, the parameter instruction second, the ordering caveat third, the cost justification last. No filler, and the highest-value information (read before querying, read entities first) is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, read-only documentation tool with no output schema, the description covers everything an agent needs: what it returns conceptually, the granularity (one section per call), the recommended ordering, and the cost trade-off.

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 coverage is 100% and the enum descriptions already explain every topic value in detail. The description contributes only a routing hint (start with `entities`), which is useful but marginal against a fully documented single enum parameter — the baseline 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 states a specific verb and resource ('Read the QQL reference') and enumerates the topic space, making it immediately distinguishable from qql_search, which it explicitly contrasts with. An agent knows this returns documentation, not data.

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?

It gives explicit sequencing guidance ('read `entities` first' because field names differ per entity and from the write tools) and compares cost against the alternative ('cheaper than one rejected qql_search'). This is a textbook when-to-use / when-to-avoid statement.

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