Skip to main content
Glama

linear_execute_graphql

Destructive

Execute a Linear GraphQL query or mutation with body.query and optional body.variables. Requires full service access with no individual action restrictions. Provider permissions and Leash protections still apply. Supply a concise reason and context for the user's activity record. These explanations do not grant permission. Listed tools may require an account connection or permission change in Leash; follow any access guidance returned by the tool and never bypass a denial.

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": {
      "reason": "<reason>",
      "context": "<context>",
      "input": "<input>"
    },
    "name": "linear_execute_graphql"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
reasonYesWhy this access is necessary to fulfill the user's request
contextYesThe user request or task that prompted this action; omit unnecessary private details

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, readOnlyHint=false and non-idempotent, so the risk profile is known. The description usefully adds that it runs with full service access and no per-action restrictions, and that reasons do not grant permission — but it never says what a mutation can destroy or how denials/partial failures surface.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core sentence is front-loaded and efficient. The trailing sentences about Leash protections, account connections and never bypassing denials read as generic policy boilerplate that could be trimmed or pushed into a policy note.

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

Completeness3/5

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

For a destructive, open-world, free-form GraphQL passthrough with nested objects and no output schema, the description covers the access model but omits practical essentials: expected payload/return shape, error and denial behavior, and how the free-form body relates to the declared query field.

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 67%; reason and context are already documented in the schema, so the description's note about supplying them adds little. It does explain body.query and body.variables, which compensates for the free-form body object, but it leaves the top-level input.query property unexplained and body.variables is not declared in the schema at all.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: execute a Linear GraphQL query or mutation, naming the body.query and optional body.variables payload shape. It is clearly the generic escape hatch among Linear tools, but it never explicitly contrasts itself with the dedicated siblings like linear_create_issue or linear_update_issue.

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

Usage Guidelines3/5

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

Gives procedural guidance for the access path (requires full service access, follow access guidance returned, never bypass a denial) and mandates a reason/context. It stops short of telling the agent when to prefer this tool over the specific Linear action tools, which is the main selection decision an agent faces here.

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.