Skip to main content
Glama
chrischall

workday-mcp

by chrischall

Run a Workday GraphQL query

workday_graphql
Read-only

Run read-only GraphQL queries against Workday to retrieve tasks, Inbox, global search, pay, benefits, and compensation as structured JSON. Mutations are rejected and sensitive fields are redacted.

Instructions

Run a read-only GraphQL query against Workday's PEX surface (/wday/pex/graphql). This is the only route to surfaces that have no GET-able .htmld endpoint — notably the Inbox / "My Tasks" and global search. Workday does not publish these operations, so you supply the document; expect to iterate. mutation and subscription documents are REFUSED — this server is read-only — as are type-system (SDL) documents, whose definition boundaries cannot be tracked reliably. Secret and government/financial PII fields (SSN, national ID, bank account, driving licence, visa and other identity documents, …) come back redacted by field name, so aliasing one of them to another name is refused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesA GraphQL `query` document. Mutations are rejected.
maxBytesNoPayload cap before truncation (default 60000).
variablesNoVariables for the query.
operationNameNoOperation name; also sent as the `?operation=` query parameter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.4.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses that the server is read-only, refusing mutation/subscription and type-system documents, and that sensitive fields (SSN, bank account, etc.) are redacted by field name, with aliasing refused. It also notes that operations are unpublished, implying the need for iteration. These details go well beyond the annotations and accurately describe behavior without contradiction.

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?

The description is information-dense but each sentence serves a purpose: core function, unique applicability, server restrictions, and redaction behavior. It is front-loaded with the main purpose and the most critical caveats. No redundant or filler content, and it remains structured and readable despite its length.

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?

Given the complexity of a GraphQL tool with variables and output limits, and the absence of an output schema, the description covers the essential operational knowledge: what it does, when to use it, what is rejected, how sensitive data is handled, and the iterative nature. This is sufficient for an agent to invoke it correctly and anticipate behavior.

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 schema already documents all four parameters (query, maxBytes, variables, operationName). The description adds minimal parameter-specific detail beyond confirming that query must be a GraphQL query document and that mutations are rejected, which is already in the schema. It doesn't explain syntax or additional constraints, so baseline 3 is appropriate.

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 clearly states the tool's action: 'Run a read-only GraphQL query against Workday's PEX surface' with the specific endpoint, and distinguishes it from siblings by noting it's the only route for Inbox/My Tasks and global search, which lack GET-able .htmld endpoints. This makes the tool's purpose unambiguous and separates it from the other workday tools.

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 explicitly states when to use this tool: for surfaces without a GET-able .htmld endpoint (Inbox/My Tasks, global search), and provides exclusions: mutations, subscriptions, and SDL documents are refused. It also warns that operations are unpublished so users must supply the document and expect iteration, giving clear situational guidance.

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