Skip to content

fix(tools): rename labels tools to scenario-labels for naming consistency - #89

Merged
Andrii Chumak (andriichumak) merged 2 commits into
mainfrom
fix/BAR-3814-rename-scenario-labels-tools
Aug 26, 2026
Merged

fix(tools): rename labels tools to scenario-labels for naming consistency#89
Andrii Chumak (andriichumak) merged 2 commits into
mainfrom
fix/BAR-3814-rename-scenario-labels-tools

Conversation

@ilya-mim

Copy link
Copy Markdown
Contributor

Summary

  • Renames the scenario-label MCP tools' category and name prefix from labels to scenario-labels, matching the {category}_{action} convention every other endpoint follows (and the underlying scenario-labels.ts file/ScenarioLabels class).
  • Addresses review feedback on BAR-3814: bare labels risked future naming collisions and was inconsistent with the rest of the tool catalog.

Changed tools

  • labels_listscenario-labels_list
  • labels_createscenario-labels_create
  • labels_updatescenario-labels_update
  • labels_deletescenario-labels_delete
  • labels_assignscenario-labels_assign
  • labels_unassignscenario-labels_unassign

No SDK method, class, or mock fixture names changed — this is scoped to the MCP tool layer (name/category) plus one doc reference in scenarios.tools.ts and the README tool-category list. Confirmed make-mcp-server-host has no dependency on the old tool names.

Test plan

  • npm run lint
  • typecheck
  • test/scenario-labels-tools.spec.ts passes with updated tool names

…ency

The MCP tools for scenario labels used a bare "labels" category/prefix while every
other endpoint follows the {category}_{action} convention matching its file name
(scenario-labels.ts). This risked future naming collisions with unrelated label
concepts and broke consistency across the tool catalog.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ilya-mim
Ilya Moskalev (ilya-mim) marked this pull request as ready for review August 26, 2026 10:44
Copilot AI lite review requested due to automatic review settings August 26, 2026 10:44
@ilya-mim
Ilya Moskalev (ilya-mim) requested a review from a team as a code owner August 26, 2026 10:44

Copilot AI 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.

Pull request overview

This PR standardizes the MCP tool naming for scenario labels by renaming the tool category and tool-name prefix from labels to scenario-labels, aligning with the repository’s {category}_{action} convention and the underlying scenario-labels endpoint.

Changes:

  • Renamed scenario-label MCP tool names from labels_* to scenario-labels_* and updated their category.
  • Updated references in scenario tool docs/tests and the README tool-category list.
  • Bumped the package version to 1.6.12 (and synced package-lock.json).

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/scenario-labels-tools.spec.ts Updates tool-name expectations in MCP tool tests.
src/endpoints/scenarios.tools.ts Updates documentation string referencing the renamed discovery tool.
src/endpoints/scenario-labels.tools.ts Renames tool identifiers and category to scenario-labels.
README.md Updates the tool category list to reflect the new category name.
package.json Bumps package version.
package-lock.json Syncs lockfile version to match package.json.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json
{
"name": "@makehq/sdk",
"version": "1.6.11",
"version": "1.6.12",
@andriichumak
Andrii Chumak (andriichumak) merged commit dab2d57 into main Aug 26, 2026
5 checks passed
@andriichumak
Andrii Chumak (andriichumak) deleted the fix/BAR-3814-rename-scenario-labels-tools branch August 26, 2026 11:00
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.

3 participants