Skip to content

fix(mcp): make telemetry optional for tool calls - #459

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
fix/mcp-optional-telemetry
Oct 30, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
fix/mcp-optional-telemetry

Conversation

@AbhiPrasad

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

always adding telemetry is a bunch of friction for the bt mcp calls.

🤖 This text was AI-generated.

MCP tool schemas can mark telemetry as required even though the server accepts calls without it. This caused bt to reject otherwise valid input:

{"query": "synthetic query"}

Treat top-level telemetry as optional in argument validation and help. Send omitted telemetry as omitted, and preserve supplied values such as:

{"query": "synthetic query", "telemetry": {}}

Keep other required fields and type checks. No intent is fabricated, and no server change or version gate is needed.

Co-authored by StarfolkAI (@starfolkai)[bot]

> 🤖 **This text was AI-generated.**

MCP tool schemas can mark telemetry as required even though the server
accepts calls without it. This caused bt to reject otherwise valid input:

```json
{"query": "synthetic query"}
```

Treat top-level telemetry as optional in argument validation and help.
Send omitted telemetry as omitted, and preserve supplied values such as:

```json
{"query": "synthetic query", "telemetry": {}}
```

Keep other required fields and type checks. No intent is fabricated, and
no server change or version gate is needed.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T14:30:50.314086Z 26bc6fa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Latest downloadable build artifacts for this PR commit 26bc6fa150f2:

Available artifact names
  • artifacts-build-local-aarch64-apple-darwin
  • artifacts-build-global
  • artifacts-build-local-x86_64-apple-darwin
  • artifacts-build-local-aarch64-unknown-linux-gnu
  • artifacts-build-local-x86_64-pc-windows-msvc
  • artifacts-build-local-x86_64-unknown-linux-gnu
  • artifacts-build-local-aarch64-pc-windows-msvc
  • artifacts-build-local-x86_64-unknown-linux-musl
  • cargo-dist-cache
  • artifacts-plan-dist-manifest

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit 72b81d0 into main Oct 30, 2026
30 checks passed
@Qard
Stephen Belanger (Qard) deleted the fix/mcp-optional-telemetry branch October 30, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants