Skip to main content
Glama

GetPersistedQueryListStatus

Read-onlyIdempotent

Check whether a graph variant has a Persisted Query List (PQL), and return its ID, its name, and its current build (revision and operation count). Pass the ID to PublishPersistedQueries. Use to assess PQL configuration — a production variant with no PQL is a security gap. Provide the graph ID and variant name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
graphIdYes
variantYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
errorsNo
extensionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / properties / graph / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "variant": {
      -        "anyOf": [
      -          {
      -            "properties": {
      -              "persistedQueryList": {
      -                "anyOf": [
      -                  {
      -                    "properties": {
      -                      "currentBuild": {
      -                        "description": "The current build of this PQL.",
      -                        "properties": {
      -                          "revision": {
      -                            "description": "The revision of this Persisted Query List. Revision 0 is the initial empty list; each publish increments the revision by 1.",
      -                            "type": "integer"
      -                          },
      -                          "totalOperationsInList": {
      -                            "description": "The total number of operations in the list after this build. Compare to PersistedQueriesPublish.operationCounts.",
      -                            "type": "integer"
      -                          }
      -                        },
      -                        "required": [
      -                          "revision",
      -                          "totalOperationsInList"
      -                        ],
      -                        "type": "object"
      -                      }
      -                    },
      -                    "required": [
      -                      "currentBuild"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "description": "The Persisted Query List linked to this variant, if any."
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Provides details of the graph variant with the provided `name`, if a variant\nwith that name exists for this graph. Otherwise, returns null.\n\n For a list of _all_ variants associated with a graph, use `Graph.variants` instead."
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "variant": {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "persistedQueryList": {
      +                "anyOf": [
      +                  {
      +                    "properties": {
      +                      "currentBuild": {
      +                        "description": "The current build of this PQL.",
      +                        "properties": {
      +                          "revision": {
      +                            "description": "The revision of this Persisted Query List. Revision 0 is the initial empty list; each publish increments the revision by 1.",
      +                            "type": "integer"
      +                          },
      +                          "totalOperationsInList": {
      +                            "description": "The total number of operations in the list after this build. Compare to PersistedQueriesPublish.operationCounts.",
      +                            "type": "integer"
      +                          }
      +                        },
      +                        "required": [
      +                          "revision",
      +                          "totalOperationsInList"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "id": {
      +                        "description": "The immutable ID for this Persisted Query List.",
      +                        "oneOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "integer"
      +                          }
      +                        ]
      +                      },
      +                      "name": {
      +                        "description": "The list's name; can be changed and does not need to be unique.",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "name",
      +                      "currentBuild"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The Persisted Query List linked to this variant, if any."
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Provides details of the graph variant with the provided `name`, if a variant\nwith that name exists for this graph. Otherwise, returns null.\n\n For a list of _all_ variants associated with a graph, use `Graph.variants` instead."
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / data / properties / graph / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "variant": {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "persistedQueryList": {
      +                "anyOf": [
      +                  {
      +                    "properties": {
      +                      "currentBuild": {
      +                        "description": "The current build of this PQL.",
      +                        "properties": {
      +                          "revision": {
      +                            "description": "The revision of this Persisted Query List. Revision 0 is the initial empty list; each publish increments the revision by 1.",
      +                            "type": "integer"
      +                          },
      +                          "totalOperationsInList": {
      +                            "description": "The total number of operations in the list after this build. Compare to PersistedQueriesPublish.operationCounts.",
      +                            "type": "integer"
      +                          }
      +                        },
      +                        "required": [
      +                          "revision",
      +                          "totalOperationsInList"
      +                        ],
      +                        "type": "object"
      +                      }
      +                    },
      +                    "required": [
      +                      "currentBuild"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The Persisted Query List linked to this variant, if any."
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Provides details of the graph variant with the provided `name`, if a variant\nwith that name exists for this graph. Otherwise, returns null.\n\n For a list of _all_ variants associated with a graph, use `Graph.variants` instead."
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / data / properties / graph / oneOf
      Removed value: -[
      -  {
      -    "properties": {
      -      "variant": {
      -        "description": "Provides details of the graph variant with the provided `name`, if a variant\nwith that name exists for this graph. Otherwise, returns null.\n\n For a list of _all_ variants associated with a graph, use `Graph.variants` instead.",
      -        "oneOf": [
      -          {
      -            "properties": {
      -              "persistedQueryList": {
      -                "description": "The Persisted Query List linked to this variant, if any.",
      -                "oneOf": [
      -                  {
      -                    "properties": {
      -                      "currentBuild": {
      -                        "description": "The current build of this PQL.",
      -                        "properties": {
      -                          "revision": {
      -                            "description": "The revision of this Persisted Query List. Revision 0 is the initial empty list; each publish increments the revision by 1.",
      -                            "type": "integer"
      -                          },
      -                          "totalOperationsInList": {
      -                            "description": "The total number of operations in the list after this build. Compare to PersistedQueriesPublish.operationCounts.",
      -                            "type": "integer"
      -                          }
      -                        },
      -                        "required": [
      -                          "revision",
      -                          "totalOperationsInList"
      -                        ],
      -                        "type": "object"
      -                      }
      -                    },
      -                    "required": [
      -                      "currentBuild"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive behavior, so the safety profile is covered. The description adds meaningful context beyond that: what the response contains and the security interpretation of a missing PQL. It does not discuss pagination or multi-variant batching, but the output schema covers return shape.

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, with the core purpose front-loaded, followed by workflow routing and usage context. No filler; every sentence carries information.

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 simple two-parameter read tool with an output schema and full annotation coverage, the description supplies purpose, workflow linkage, and usage rationale. Nothing an agent needs to invoke it correctly is missing.

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 0%, so the description must carry the burden. 'Provide the graph ID and variant name' tells the agent what both required parameters represent, which is useful, but adds no format, casing, or example detail beyond a restatement of the parameter names. Baseline 3 is appropriate for this partial compensation.

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 ('Check whether a graph variant has a PQL') and enumerates exactly what is returned (ID, name, build revision and operation count). It is clearly distinguishable from siblings and explicitly names the related PublishPersistedQueries tool.

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?

Gives concrete when-to-use context ('Use to assess PQL configuration — a production variant with no PQL is a security gap') and the downstream workflow ('Pass the ID to PublishPersistedQueries'). No explicit when-not or sibling alternatives are offered, but no other sibling returns PQL status, so the routing is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources