Skip to main content
Glama

Codex PKCE public test vector

codex-pkce-public-test-vector

Codex PKCE public test vector — Isolated proof demonstrator: computes the public RFC7636 Appendix B S256 challenge. Send an empty JSON object. Accepts no real verifiers or credentials. Returns the known vector, match result and draft source SHA. This is a small test endpoint, not a production OAuth assurance or [unverified]. (1 MESH/call, a tool · developer-tools)

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": {
      "input": "<input>"
    },
    "name": "codex-pkce-public-test-vector"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesEmpty object — this demonstrator computes the fixed RFC 7636 Appendix B S256 challenge. It accepts no verifiers or credentials.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / input / additionalProperties
      Added value: +false
    • changedInput schema / properties / input / description
      Previous value: -"Capability-specific payload, e.g. agent-brain: {think:'...'}; agent-memory: {action:'store'|'recall', content|query}"New value: +"Empty object — this demonstrator computes the fixed RFC 7636 Appendix B S256 challenge. It accepts no verifiers or credentials."
    • addedInput schema / properties / input / properties
      Added value: +{}
    • addedInput schema / properties / input / required
      Added value: +[]
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that no real verifiers or credentials are accepted, what comes back (known vector, match result, draft source SHA), and the cost ('1 MESH/call'). One mild tension is left unexplained — idempotentHint=false and readOnlyHint=false on a fixed-output computation, which the description implies is deterministic and non-mutating — but the description itself does not assert a conflicting behavior, so this reads as an annotation oddity rather than a contradiction.

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 is front-loaded and efficient, but there is noise: a dangling 'or [unverified]' fragment and a trailing pricing/category tag '(1 MESH/call, a tool · developer-tools)' that read as broken template text rather than deliberate content.

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?

With no output schema, the description carries the return-value burden and does so ('known vector, match result and draft source SHA'). Combined with the empty-input rule, credential disclaimer and cost, an agent has what it needs to call this zero-argument demonstrator correctly.

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% and the single nested 'input' property is already documented as an empty object with additionalProperties=false. The description's 'Send an empty JSON object' and 'accepts no verifiers or credentials' merely restate the schema constraint, so baseline 3 fits.

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 concrete verb and object: 'computes the public RFC7636 Appendix B S256 challenge' from a fixed test vector, and distinguishes itself by scope ('isolated proof demonstrator', 'small test endpoint') rather than by naming siblings. The agent can tell exactly what it does, though no sibling tool is named as an alternative.

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?

Gives a clear invocation instruction ('Send an empty JSON object') and a clear exclusion ('not a production OAuth assurance'), which tells the agent when not to rely on it. It stops short of naming any alternative tool to use for real verifier validation.

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.