Skip to content

feat!: validate tool naming#2305

Merged
Yuan325 merged 4 commits into
mainfrom
tool-name-validation
Jan 22, 2026
Merged

feat!: validate tool naming#2305
Yuan325 merged 4 commits into
mainfrom
tool-name-validation

Conversation

@Yuan325

@Yuan325 Yuan325 commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

Check for naming validation for Tool. This validation follows the MCP SEP986 naming guidance.

Name will be checked before MCP initialization (where specs version is confirmed). Hence, we will be implementing this across all versions and endpoints.

This will be a breaking change for user that currently uses other special character as name (other than _, -, .)

@Yuan325 Yuan325 requested a review from a team January 13, 2026 22:50
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @Yuan325, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a crucial enhancement to enforce strict naming conventions for resources within the system. By integrating a new validation mechanism, it ensures that all resource names conform to the specified Model Context Protocol (MCP) SEP986 guidance, promoting data integrity and system consistency. This validation is performed early in the configuration loading process, preventing malformed names from being used.

Highlights

  • Resource Naming Validation: Implemented new validation for resource names, adhering to the MCP SEP986 naming guidance. This ensures consistency and compliance with defined standards.
  • Early Enforcement: The naming validation is performed before MCP initialization, applying across all versions and endpoints to prevent malformed names from entering the system early in the configuration loading process.
  • Validation Logic: A new NameValidation function has been introduced. It checks that resource names are between 1 and 128 characters in length (inclusive) and consist only of uppercase/lowercase ASCII letters, digits, underscores, hyphens, and dots.
  • Integration into Configuration Loading: The NameValidation function is integrated into the UnmarshalYAML methods for various configuration types, including SourceConfigs, AuthServiceConfigs, EmbeddingModelConfigs, ToolConfigs, ToolsetConfigs, PromptConfigs, and PromptsetConfigs, ensuring all configured resource names are validated.
  • Comprehensive Unit Tests: New unit tests for the NameValidation function have been added to internal/server/server_test.go, covering a wide range of valid and invalid naming scenarios to ensure robustness.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces resource naming validation, which is a great addition for ensuring data integrity based on MCP SEP986. The implementation adds a NameValidation function and applies it consistently across various configuration unmarshalling processes. I've identified a performance improvement opportunity in the NameValidation function by compiling the regular expression only once. I've also pointed out a couple of typos in the error messages and suggested updating the tests accordingly. Overall, the changes are well-structured and the addition of tests is appreciated.

Comment thread internal/server/config.go
Comment thread internal/server/server_test.go
@Yuan325 Yuan325 force-pushed the tool-name-validation branch from c176fb6 to 60d35e5 Compare January 13, 2026 23:09

@averikitsch averikitsch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's only update for tool names right now and not enforce this for other resources.

@Yuan325 Yuan325 requested a review from averikitsch January 16, 2026 00:34
@Yuan325 Yuan325 changed the title feat!: validate resource naming feat!: validate tool naming Jan 16, 2026
@Yuan325 Yuan325 force-pushed the tool-name-validation branch from 9d390ae to 5b10275 Compare January 16, 2026 00:35
@Yuan325 Yuan325 added the release candidate Use label to signal PR should be included in the next release. label Jan 22, 2026
@Yuan325 Yuan325 enabled auto-merge (squash) January 22, 2026 21:34
@Yuan325 Yuan325 merged commit 5054212 into main Jan 22, 2026
11 of 12 checks passed
@Yuan325 Yuan325 deleted the tool-name-validation branch January 22, 2026 21:52
Yuan325 added a commit that referenced this pull request Jan 23, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.26.0](v0.25.0...v0.26.0)
(2026-01-22)


### ⚠ BREAKING CHANGES

* Validate tool naming
([#2305](#2305))
([5054212](5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([#2288](#2288))
([6b02591](6b02591))

### Features

* Add new `user-agent-metadata` flag
([#2302](#2302))
([adc9589](adc9589))
* Add remaining flag to Toolbox server in MCP registry
([#2272](#2272))
([5e0999e](5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([#2310](#2310))
([e4f60e5](e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([#2262](#2262))
([4abf0c3](4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([#2141](#2141))
([8e0fb03](8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([#2171](#2171))
([00c3e6d](00c3e6d))
* Support combining multiple prebuilt configurations
([#2295](#2295))
([e535b37](e535b37))
* Support MCP specs version 2025-11-25
([#2303](#2303))
([4d23a3b](4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([#2333](#2333))
([15101b1](15101b1))


### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([#2327](#2327))
([c25a233](c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
github-actions Bot pushed a commit that referenced this pull request Jan 23, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.26.0](v0.25.0...v0.26.0)
(2026-01-22)

### ⚠ BREAKING CHANGES

* Validate tool naming
([#2305](#2305))
([5054212](5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([#2288](#2288))
([6b02591](6b02591))

### Features

* Add new `user-agent-metadata` flag
([#2302](#2302))
([adc9589](adc9589))
* Add remaining flag to Toolbox server in MCP registry
([#2272](#2272))
([5e0999e](5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([#2310](#2310))
([e4f60e5](e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([#2262](#2262))
([4abf0c3](4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([#2141](#2141))
([8e0fb03](8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([#2171](#2171))
([00c3e6d](00c3e6d))
* Support combining multiple prebuilt configurations
([#2295](#2295))
([e535b37](e535b37))
* Support MCP specs version 2025-11-25
([#2303](#2303))
([4d23a3b](4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([#2333](#2333))
([15101b1](15101b1))

### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([#2327](#2327))
([c25a233](c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 86bf7bf
github-actions Bot pushed a commit to renovate-bot/googleapis-_-genai-toolbox that referenced this pull request Jan 23, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.26.0](googleapis/mcp-toolbox@v0.25.0...v0.26.0)
(2026-01-22)

### ⚠ BREAKING CHANGES

* Validate tool naming
([googleapis#2305](googleapis#2305))
([5054212](googleapis@5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([googleapis#2288](googleapis#2288))
([6b02591](googleapis@6b02591))

### Features

* Add new `user-agent-metadata` flag
([googleapis#2302](googleapis#2302))
([adc9589](googleapis@adc9589))
* Add remaining flag to Toolbox server in MCP registry
([googleapis#2272](googleapis#2272))
([5e0999e](googleapis@5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([googleapis#2310](googleapis#2310))
([e4f60e5](googleapis@e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([googleapis#2262](googleapis#2262))
([4abf0c3](googleapis@4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([googleapis#2141](googleapis#2141))
([8e0fb03](googleapis@8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([googleapis#2171](googleapis#2171))
([00c3e6d](googleapis@00c3e6d))
* Support combining multiple prebuilt configurations
([googleapis#2295](googleapis#2295))
([e535b37](googleapis@e535b37))
* Support MCP specs version 2025-11-25
([googleapis#2303](googleapis#2303))
([4d23a3b](googleapis@4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([googleapis#2333](googleapis#2333))
([15101b1](googleapis@15101b1))

### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([googleapis#2327](googleapis#2327))
([c25a233](googleapis@c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 86bf7bf
github-actions Bot pushed a commit to CrazyForks/genai-toolbox that referenced this pull request Jan 23, 2026
Check for naming validation for Tool. This validation follows the MCP
SEP986 [naming
guidance](https://github.com/alexhancock/modelcontextprotocol/blob/1b1eb60ec48442494e617d7dffafb3270b5126af/docs/specification/draft/server/tools.mdx#tool-names).

Name will be checked before MCP initialization (where specs version is
confirmed). Hence, we will be implementing this across all versions and
endpoints.

This will be a breaking change for user that currently uses other
special character as name (other than `_`, `-`, `.`) 5054212
github-actions Bot pushed a commit to Jaleel-zhu/genai-toolbox that referenced this pull request Jan 23, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.26.0](googleapis/mcp-toolbox@v0.25.0...v0.26.0)
(2026-01-22)

### ⚠ BREAKING CHANGES

* Validate tool naming
([googleapis#2305](googleapis#2305))
([5054212](googleapis@5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([googleapis#2288](googleapis#2288))
([6b02591](googleapis@6b02591))

### Features

* Add new `user-agent-metadata` flag
([googleapis#2302](googleapis#2302))
([adc9589](googleapis@adc9589))
* Add remaining flag to Toolbox server in MCP registry
([googleapis#2272](googleapis#2272))
([5e0999e](googleapis@5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([googleapis#2310](googleapis#2310))
([e4f60e5](googleapis@e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([googleapis#2262](googleapis#2262))
([4abf0c3](googleapis@4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([googleapis#2141](googleapis#2141))
([8e0fb03](googleapis@8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([googleapis#2171](googleapis#2171))
([00c3e6d](googleapis@00c3e6d))
* Support combining multiple prebuilt configurations
([googleapis#2295](googleapis#2295))
([e535b37](googleapis@e535b37))
* Support MCP specs version 2025-11-25
([googleapis#2303](googleapis#2303))
([4d23a3b](googleapis@4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([googleapis#2333](googleapis#2333))
([15101b1](googleapis@15101b1))

### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([googleapis#2327](googleapis#2327))
([c25a233](googleapis@c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 86bf7bf
github-actions Bot pushed a commit to NirajNandre/genai-toolbox-fork that referenced this pull request Jan 23, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.26.0](googleapis/mcp-toolbox@v0.25.0...v0.26.0)
(2026-01-22)

### ⚠ BREAKING CHANGES

* Validate tool naming
([googleapis#2305](googleapis#2305))
([5054212](googleapis@5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([googleapis#2288](googleapis#2288))
([6b02591](googleapis@6b02591))

### Features

* Add new `user-agent-metadata` flag
([googleapis#2302](googleapis#2302))
([adc9589](googleapis@adc9589))
* Add remaining flag to Toolbox server in MCP registry
([googleapis#2272](googleapis#2272))
([5e0999e](googleapis@5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([googleapis#2310](googleapis#2310))
([e4f60e5](googleapis@e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([googleapis#2262](googleapis#2262))
([4abf0c3](googleapis@4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([googleapis#2141](googleapis#2141))
([8e0fb03](googleapis@8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([googleapis#2171](googleapis#2171))
([00c3e6d](googleapis@00c3e6d))
* Support combining multiple prebuilt configurations
([googleapis#2295](googleapis#2295))
([e535b37](googleapis@e535b37))
* Support MCP specs version 2025-11-25
([googleapis#2303](googleapis#2303))
([4d23a3b](googleapis@4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([googleapis#2333](googleapis#2333))
([15101b1](googleapis@15101b1))

### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([googleapis#2327](googleapis#2327))
([c25a233](googleapis@c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 86bf7bf
github-actions Bot pushed a commit to CrazyForks/genai-toolbox that referenced this pull request Jan 23, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.26.0](googleapis/mcp-toolbox@v0.25.0...v0.26.0)
(2026-01-22)

### ⚠ BREAKING CHANGES

* Validate tool naming
([googleapis#2305](googleapis#2305))
([5054212](googleapis@5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([googleapis#2288](googleapis#2288))
([6b02591](googleapis@6b02591))

### Features

* Add new `user-agent-metadata` flag
([googleapis#2302](googleapis#2302))
([adc9589](googleapis@adc9589))
* Add remaining flag to Toolbox server in MCP registry
([googleapis#2272](googleapis#2272))
([5e0999e](googleapis@5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([googleapis#2310](googleapis#2310))
([e4f60e5](googleapis@e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([googleapis#2262](googleapis#2262))
([4abf0c3](googleapis@4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([googleapis#2141](googleapis#2141))
([8e0fb03](googleapis@8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([googleapis#2171](googleapis#2171))
([00c3e6d](googleapis@00c3e6d))
* Support combining multiple prebuilt configurations
([googleapis#2295](googleapis#2295))
([e535b37](googleapis@e535b37))
* Support MCP specs version 2025-11-25
([googleapis#2303](googleapis#2303))
([4d23a3b](googleapis@4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([googleapis#2333](googleapis#2333))
([15101b1](googleapis@15101b1))

### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([googleapis#2327](googleapis#2327))
([c25a233](googleapis@c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 86bf7bf
github-actions Bot pushed a commit to bhardwajRahul/genai-toolbox that referenced this pull request Jan 25, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.26.0](googleapis/mcp-toolbox@v0.25.0...v0.26.0)
(2026-01-22)

### ⚠ BREAKING CHANGES

* Validate tool naming
([googleapis#2305](googleapis#2305))
([5054212](googleapis@5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([googleapis#2288](googleapis#2288))
([6b02591](googleapis@6b02591))

### Features

* Add new `user-agent-metadata` flag
([googleapis#2302](googleapis#2302))
([adc9589](googleapis@adc9589))
* Add remaining flag to Toolbox server in MCP registry
([googleapis#2272](googleapis#2272))
([5e0999e](googleapis@5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([googleapis#2310](googleapis#2310))
([e4f60e5](googleapis@e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([googleapis#2262](googleapis#2262))
([4abf0c3](googleapis@4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([googleapis#2141](googleapis#2141))
([8e0fb03](googleapis@8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([googleapis#2171](googleapis#2171))
([00c3e6d](googleapis@00c3e6d))
* Support combining multiple prebuilt configurations
([googleapis#2295](googleapis#2295))
([e535b37](googleapis@e535b37))
* Support MCP specs version 2025-11-25
([googleapis#2303](googleapis#2303))
([4d23a3b](googleapis@4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([googleapis#2333](googleapis#2333))
([15101b1](googleapis@15101b1))

### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([googleapis#2327](googleapis#2327))
([c25a233](googleapis@c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 86bf7bf
github-actions Bot pushed a commit to TheTechOddBug/genai-toolbox that referenced this pull request Jan 25, 2026
🤖 I have created a release *beep* *boop*
---

##
[0.26.0](googleapis/mcp-toolbox@v0.25.0...v0.26.0)
(2026-01-22)

### ⚠ BREAKING CHANGES

* Validate tool naming
([googleapis#2305](googleapis#2305))
([5054212](googleapis@5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([googleapis#2288](googleapis#2288))
([6b02591](googleapis@6b02591))

### Features

* Add new `user-agent-metadata` flag
([googleapis#2302](googleapis#2302))
([adc9589](googleapis@adc9589))
* Add remaining flag to Toolbox server in MCP registry
([googleapis#2272](googleapis#2272))
([5e0999e](googleapis@5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([googleapis#2310](googleapis#2310))
([e4f60e5](googleapis@e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([googleapis#2262](googleapis#2262))
([4abf0c3](googleapis@4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([googleapis#2141](googleapis#2141))
([8e0fb03](googleapis@8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([googleapis#2171](googleapis#2171))
([00c3e6d](googleapis@00c3e6d))
* Support combining multiple prebuilt configurations
([googleapis#2295](googleapis#2295))
([e535b37](googleapis@e535b37))
* Support MCP specs version 2025-11-25
([googleapis#2303](googleapis#2303))
([4d23a3b](googleapis@4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([googleapis#2333](googleapis#2333))
([15101b1](googleapis@15101b1))

### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([googleapis#2327](googleapis#2327))
([c25a233](googleapis@c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 86bf7bf
dennisg pushed a commit to dennisg/genai-toolbox that referenced this pull request Jan 29, 2026
Check for naming validation for Tool. This validation follows the MCP
SEP986 [naming
guidance](https://github.com/alexhancock/modelcontextprotocol/blob/1b1eb60ec48442494e617d7dffafb3270b5126af/docs/specification/draft/server/tools.mdx#tool-names).

Name will be checked before MCP initialization (where specs version is
confirmed). Hence, we will be implementing this across all versions and
endpoints.

This will be a breaking change for user that currently uses other
special character as name (other than `_`, `-`, `.`)
dennisg pushed a commit to dennisg/genai-toolbox that referenced this pull request Jan 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.26.0](googleapis/mcp-toolbox@v0.25.0...v0.26.0)
(2026-01-22)


### ⚠ BREAKING CHANGES

* Validate tool naming
([googleapis#2305](googleapis#2305))
([5054212](googleapis@5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([googleapis#2288](googleapis#2288))
([6b02591](googleapis@6b02591))

### Features

* Add new `user-agent-metadata` flag
([googleapis#2302](googleapis#2302))
([adc9589](googleapis@adc9589))
* Add remaining flag to Toolbox server in MCP registry
([googleapis#2272](googleapis#2272))
([5e0999e](googleapis@5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([googleapis#2310](googleapis#2310))
([e4f60e5](googleapis@e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([googleapis#2262](googleapis#2262))
([4abf0c3](googleapis@4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([googleapis#2141](googleapis#2141))
([8e0fb03](googleapis@8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([googleapis#2171](googleapis#2171))
([00c3e6d](googleapis@00c3e6d))
* Support combining multiple prebuilt configurations
([googleapis#2295](googleapis#2295))
([e535b37](googleapis@e535b37))
* Support MCP specs version 2025-11-25
([googleapis#2303](googleapis#2303))
([4d23a3b](googleapis@4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([googleapis#2333](googleapis#2333))
([15101b1](googleapis@15101b1))


### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([googleapis#2327](googleapis#2327))
([c25a233](googleapis@c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
Yuan325 added a commit to dennisg/genai-toolbox that referenced this pull request Jan 29, 2026
Check for naming validation for Tool. This validation follows the MCP
SEP986 [naming
guidance](https://github.com/alexhancock/modelcontextprotocol/blob/1b1eb60ec48442494e617d7dffafb3270b5126af/docs/specification/draft/server/tools.mdx#tool-names).

Name will be checked before MCP initialization (where specs version is
confirmed). Hence, we will be implementing this across all versions and
endpoints.

This will be a breaking change for user that currently uses other
special character as name (other than `_`, `-`, `.`)
kshalu-code pushed a commit to kshalu-code/genai-toolbox that referenced this pull request Feb 4, 2026
Check for naming validation for Tool. This validation follows the MCP
SEP986 [naming
guidance](https://github.com/alexhancock/modelcontextprotocol/blob/1b1eb60ec48442494e617d7dffafb3270b5126af/docs/specification/draft/server/tools.mdx#tool-names).

Name will be checked before MCP initialization (where specs version is
confirmed). Hence, we will be implementing this across all versions and
endpoints.

This will be a breaking change for user that currently uses other
special character as name (other than `_`, `-`, `.`)
kshalu-code pushed a commit to kshalu-code/genai-toolbox that referenced this pull request Feb 4, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.26.0](googleapis/mcp-toolbox@v0.25.0...v0.26.0)
(2026-01-22)


### ⚠ BREAKING CHANGES

* Validate tool naming
([googleapis#2305](googleapis#2305))
([5054212](googleapis@5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([googleapis#2288](googleapis#2288))
([6b02591](googleapis@6b02591))

### Features

* Add new `user-agent-metadata` flag
([googleapis#2302](googleapis#2302))
([adc9589](googleapis@adc9589))
* Add remaining flag to Toolbox server in MCP registry
([googleapis#2272](googleapis#2272))
([5e0999e](googleapis@5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([googleapis#2310](googleapis#2310))
([e4f60e5](googleapis@e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([googleapis#2262](googleapis#2262))
([4abf0c3](googleapis@4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([googleapis#2141](googleapis#2141))
([8e0fb03](googleapis@8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([googleapis#2171](googleapis#2171))
([00c3e6d](googleapis@00c3e6d))
* Support combining multiple prebuilt configurations
([googleapis#2295](googleapis#2295))
([e535b37](googleapis@e535b37))
* Support MCP specs version 2025-11-25
([googleapis#2303](googleapis#2303))
([4d23a3b](googleapis@4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([googleapis#2333](googleapis#2333))
([15101b1](googleapis@15101b1))


### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([googleapis#2327](googleapis#2327))
([c25a233](googleapis@c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
dumians pushed a commit to dumians/genai-toolbox that referenced this pull request Feb 18, 2026
Check for naming validation for Tool. This validation follows the MCP
SEP986 [naming
guidance](https://github.com/alexhancock/modelcontextprotocol/blob/1b1eb60ec48442494e617d7dffafb3270b5126af/docs/specification/draft/server/tools.mdx#tool-names).

Name will be checked before MCP initialization (where specs version is
confirmed). Hence, we will be implementing this across all versions and
endpoints.

This will be a breaking change for user that currently uses other
special character as name (other than `_`, `-`, `.`)
dumians pushed a commit to dumians/genai-toolbox that referenced this pull request Feb 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.26.0](googleapis/mcp-toolbox@v0.25.0...v0.26.0)
(2026-01-22)


### ⚠ BREAKING CHANGES

* Validate tool naming
([googleapis#2305](googleapis#2305))
([5054212](googleapis@5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([googleapis#2288](googleapis#2288))
([6b02591](googleapis@6b02591))

### Features

* Add new `user-agent-metadata` flag
([googleapis#2302](googleapis#2302))
([adc9589](googleapis@adc9589))
* Add remaining flag to Toolbox server in MCP registry
([googleapis#2272](googleapis#2272))
([5e0999e](googleapis@5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([googleapis#2310](googleapis#2310))
([e4f60e5](googleapis@e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([googleapis#2262](googleapis#2262))
([4abf0c3](googleapis@4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([googleapis#2141](googleapis#2141))
([8e0fb03](googleapis@8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([googleapis#2171](googleapis#2171))
([00c3e6d](googleapis@00c3e6d))
* Support combining multiple prebuilt configurations
([googleapis#2295](googleapis#2295))
([e535b37](googleapis@e535b37))
* Support MCP specs version 2025-11-25
([googleapis#2303](googleapis#2303))
([4d23a3b](googleapis@4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([googleapis#2333](googleapis#2333))
([15101b1](googleapis@15101b1))


### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([googleapis#2327](googleapis#2327))
([c25a233](googleapis@c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
NightStack15 added a commit to NightStack15/googleapis-_-genai-toolbox that referenced this pull request Mar 20, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.26.0](googleapis/mcp-toolbox@v0.25.0...v0.26.0)
(2026-01-22)


### ⚠ BREAKING CHANGES

* Validate tool naming
([#2305](googleapis/mcp-toolbox#2305))
([5054212](googleapis/mcp-toolbox@5054212))
* **tools/cloudgda:** Update description and parameter name for cloudgda
tool ([#2288](googleapis/mcp-toolbox#2288))
([6b02591](googleapis/mcp-toolbox@6b02591))

### Features

* Add new `user-agent-metadata` flag
([#2302](googleapis/mcp-toolbox#2302))
([adc9589](googleapis/mcp-toolbox@adc9589))
* Add remaining flag to Toolbox server in MCP registry
([#2272](googleapis/mcp-toolbox#2272))
([5e0999e](googleapis/mcp-toolbox@5e0999e))
* **embeddingModel:** Add embedding model to MCP handler
([#2310](googleapis/mcp-toolbox#2310))
([e4f60e5](googleapis/mcp-toolbox@e4f60e5))
* **sources/bigquery:** Make maximum rows returned from queries
configurable
([#2262](googleapis/mcp-toolbox#2262))
([4abf0c3](googleapis/mcp-toolbox@4abf0c3))
* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL
([#2141](googleapis/mcp-toolbox#2141))
([8e0fb03](googleapis/mcp-toolbox@8e0fb03))
* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL
([#2171](googleapis/mcp-toolbox#2171))
([00c3e6d](googleapis/mcp-toolbox@00c3e6d))
* Support combining multiple prebuilt configurations
([#2295](googleapis/mcp-toolbox#2295))
([e535b37](googleapis/mcp-toolbox@e535b37))
* Support MCP specs version 2025-11-25
([#2303](googleapis/mcp-toolbox#2303))
([4d23a3b](googleapis/mcp-toolbox@4d23a3b))
* **tools:** Add `valueFromParam` support to Tool config
([#2333](googleapis/mcp-toolbox#2333))
([15101b1](googleapis/mcp-toolbox@15101b1))


### Bug Fixes

* **tools/cloudhealthcare:** Add check for client authorization before
retrieving token string
([#2327](googleapis/mcp-toolbox#2327))
([c25a233](googleapis/mcp-toolbox@c25a233))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release candidate Use label to signal PR should be included in the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants