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

NameRequiredDescriptionDefault
graphIdYes
variantYes

Output 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/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower. The description adds useful behavioral context: it describes the return payload shape and the security-relevant 'no PQL' outcome, but the return details are also captured by the existing output schema, limiting added value.

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?

Four short sentences, front-loaded with the core purpose and followed by the actionable follow-up and usage rationale. The final 'Provide the graph ID and variant name' is mildly redundant for a two-required-param tool but earns its place given zero schema descriptions.

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?

With rich annotations and an output schema, the definition supplies everything an agent needs: what it checks, what it returns, why it matters, which params to send, and where the result feeds next. No material gaps remain.

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 compensate. 'Provide the graph ID and variant name' maps both required parameters to meaning, but gives no format, lookup, or validation details (e.g., variant naming conventions), leaving a real gap.

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 Persisted Query List') plus what it returns (ID, name, revision, operation count). It is clearly distinguishable from siblings like PublishPersistedQueries, which it explicitly names.

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?

'Use to assess PQL configuration — a production variant with no PQL is a security gap' gives a concrete usage context, and 'Pass the ID to PublishPersistedQueries' defines the downstream workflow. No explicit when-not condition or competing read tool is discussed, so it stops short of a 5.

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