Skip to main content
Glama

vex_operations

Manage saved replayable GraphQL queries and mutations: list, inspect, run with default or overridden variables, and delete persisted operations.

Instructions

Manage saved (replayable) GraphQL operations: queries or mutations persisted with default variables. (Distinct from vex_schema's list_operations, which lists schema-defined operations.)

Actions:

  • list: List saved operations, optionally filtered by kind or root field.

  • get: Return the full saved-operation record (name, kind, rootField, document, default variables, timestamps).

  • run: Execute a saved operation by name. Override top-level variables (shallow merge) or replace them entirely.

  • delete: Delete a saved operation.

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": {
      "action": "<action>"
    },
    "name": "vex_operations"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNoTarget env name (default: VEX_ENV, else active).
kindNoFilter by operation kind.
nameNoSaved operation name (CamelCase).
actionYesOperation to perform; see description for valid values.
rootFieldNoFilter by the root field name (e.g. `contents`, `createCustomer`).
replaceVariablesNoIf set, replaces the saved defaults entirely before applying variableOverrides. Use this when the saved variables are stale.
variableOverridesNoTop-level variable overrides merged into the saved defaults. Pass values as their real JSON types (e.g. `true`, `42`, `{...}`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full behavioral load. It usefully discloses run's variable semantics (shallow merge of top-level overrides versus full replacement) and that delete removes a saved operation, but it does not warn that delete is irreversible, that run of a mutation has real side effects, or what permissions are needed.

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?

The purpose and sibling disambiguation are front-loaded, and the action list is a scannable structure with no filler. The parenthetical sibling note is slightly awkward but earns its place by preventing tool confusion.

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?

For a seven-parameter tool with four distinct actions, no annotations and no output schema, the description covers the action set and the key variable-handling behavior well. It leaves gaps on the env parameter, error conditions, and whether delete is recoverable, which matter given the absence of annotations.

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 100%, so the baseline is 3. The description restates the shallow-merge versus full-replace distinction that the schema already documents, and it covers the kind and rootField filters, but it says nothing about the env parameter or the CamelCase naming requirement beyond what the schema states.

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 opens with a specific verb and resource: managing saved (replayable) GraphQL operations, queries or mutations persisted with default variables. It also explicitly disambiguates from the sibling tool vex_schema's list_operations, which lists schema-defined operations, so an agent can pick the right tool without inspecting either schema.

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?

Each of the four actions (list, get, run, delete) is given a one-line statement of what it does, which is clear per-action guidance. It stops short of full when/when-not routing, such as advising when to use vex_query or vex_mutate for ad-hoc execution instead of a saved operation, and it gives no prerequisites for run or delete.

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