[Automated] Draft docs (agentgateway): mcp: expose list/* results into CEL - #1105
Merged
Merged
Conversation
…nto CEL Signed-off-by: GitHub Action <action@github.com>
kristin-kronstain-brown
approved these changes
Sep 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation triage
1 candidates, 1 triaged, 0 skipped.
Feature clusters
Kept apart on purpose. Merging wrongly produces a guide that documents two things and explains neither, so these are reported for a person to merge rather than grouped automatically:
list/*results into CEL agentgateway#3601, Parse MCP context for CEL early agentgateway#3301 all mention "CEL" in the title and are in different clusters; check whether they are one featureDraft a documentation change
agentgateway/agentgateway#3601 — mcp: expose
list/*results into CELagentgateway/websiteschema/cel.mdHow this page was chosen
prassets/agw-docs/pages/reference/cel/custom-functions.md(editable here)content/docs/standalone/main/documentation/mcp/_index.md(editable here)content/docs/standalone/main/documentation/mcp/about.md(editable here)content/docs/standalone/main/documentation/mcp/apps.md(editable here)content/docs/standalone/main/documentation/mcp/configuration-modes.md(editable here)content/docs/standalone/main/documentation/mcp/connect.md(editable here)content/docs/standalone/main/documentation/mcp/guardrails/_index.md(editable here)content/docs/standalone/main/documentation/mcp/guardrails/about.md(editable here)content/docs/standalone/main/documentation/mcp/guardrails/setup.md(editable here)content/docs/standalone/main/documentation/mcp/mcp-authn.md(editable here)content/docs/standalone/main/documentation/mcp/mcp-authz.md(editable here)content/docs/standalone/main/documentation/mcp/mcp-observability.md(editable here)content/docs/standalone/main/documentation/mcp/mcp-target-policies.md(editable here)content/docs/standalone/main/documentation/mcp/spec-compatibility.md(editable here)content/docs/standalone/main/integrations/mcp/_index.md(editable here)agentgateway/agentgateway#3601 — mcp: expose
list/*results into CELagentgateway/agentgateway#3601 exposes terminal MCP list responses to post-request CEL. Readers can now add
list/*response payloads to access logs, traces, and metrics withmcp.toolsList,mcp.promptsList,mcp.resourcesList, andmcp.resourceTemplatesList. Before this change, the MCP observability docs described post-request tool-call payloads only, whilelist/*payloads were absent. The generated CEL reference covers the raw fields, and these docs now explain the policy phase and standalone access-log usage.How
agentgateway-3601was drafted, and what was not verifiedagentgateway/agentgateway#3601 — mcp: expose
list/*results into CELlist/*results into CEL agentgateway#3601Plan, and what changed it
pr-triage-worklist-agentgateway-3601.jsonauthorized no Kubernetes MCP observability page and nocreate_indirectory, so Kubernetes coverage belongs on the CEL variables reference page.Why a documentation change is necessary
The pull request adds
mcp.toolsList,mcp.promptsList,mcp.resourcesList, andmcp.resourceTemplatesListto the MCP CEL context after terminallist/*responses. The existing standalone MCP observability page documented post-requestmcp.tool.*fields for tool calls, but did not describe list result fields or show how to add them to access logs. The CEL variables pages explained which top-level variables are available by policy type, but did not explain thatmcpnow carries list response payloads only after the MCP server responds.What changed on disk
content/docs/standalone/main/reference/cel/variables.md: Added a phase-specific table for MCP list result variables.content/docs/kubernetes/main/reference/cel/variables.md: Added the same MCP list result variable table for the Kubernetes tree.content/docs/standalone/main/documentation/mcp/mcp-observability.md: Added an access-log example fortools/listresults and a method-to-variable table..pr-triage/agentgateway-3601/proposed-release-note.md: Added a New features note under the shared Operations area.How to verify this change
frontendPolicies.accessLogblock withfilter: 'mcp.methodName == "tools/list"'andadd.tools: 'mcp.toolsList', then run the existingagentgateway -f config.yamlcommand.tools/list, then check stdout for an access log field namedtoolsthat contains the terminal tools list response.mcp.toolsList,mcp.promptsList,mcp.resourcesList, andmcp.resourceTemplatesListmatch the generated CEL reference fields formcp.Proposed release note
Wrote
.pr-triage/agentgateway-3601/proposed-release-note.mdbecause the pull request changes observable post-request CEL behavior. The note uses the Operations area because both standalone and Kubernetes development release-note pages have that area.Style review
Ran the structure, STE, reread, product-specific, shortcode, and hard-refusal passes plus
git diff --check, positional-language grep, bare-kind grep, and doc-test/rebase literal greps. One finding, applied: split the new phase description so the authorization and post-request behaviors are separate sentences.What was not verified
The configuration was not applied to a cluster, so every command in this diff is unrun. The work-list recorded
test_env.state: unconfigured;docs-setup-envwould be needed to stand up an environment. The generated CEL reference workflow was not run here, so the docs were checked against the dossier diff rather than generated site output.Draft branch:
pr-tracker-draft-agentgateway-3601Important
The test suite has not run on this pull request. It was opened by
github-actions[bot], and GitHub does not start workflows for pull requests opened with the repository's own token. Doc tests, link checking and the static checks are held asaction_requireduntil somebody presses Approve and run on the Checks tab. Cloudflare Pages and DCO are GitHub Apps rather than Actions, so those two do run on their own.Please approve the checks before reviewing the content: an absence of failures here means the tests have not run, not that they passed.