Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

Swagger: Update Portal Product

swagger_update_portal_product
DestructiveIdempotent

Update product settings in a portal by specifying product ID and optional fields like name, slug, description, visibility, and navigation to change how it appears to users.

Instructions

Update a product's settings within a specific portal.

Toolset: Products

Parameters:

  • productId (string) required: Product UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product

  • name (string): Update product display name - changes how it appears to users in navigation and listings (3-40 characters)

  • slug (string): Update URL-friendly identifier - must remain unique within the portal, affects product URLs (3-22 characters, lowercase, alphanumeric with hyphens/underscores/dots)

  • description (string): Update product description - explains the API/product functionality, shown in listings (max 110 characters)

  • public (boolean): Change product visibility - true makes it publicly accessible to all visitors, false restricts to authenticated users with roles

  • hidden (boolean): Change navigation visibility - true hides from portal landing page menus while keeping the product accessible via direct links

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoUpdate product display name - changes how it appears to users in navigation and listings (3-40 characters)
slugNoUpdate URL-friendly identifier - must remain unique within the portal, affects product URLs (3-22 characters, lowercase, alphanumeric with hyphens/underscores/dots)
hiddenNoChange navigation visibility - true hides from portal landing page menus while keeping the product accessible via direct links
publicNoChange product visibility - true makes it publicly accessible to all visitors, false restricts to authenticated users with roles
productIdYesProduct UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product
descriptionNoUpdate product description - explains the API/product functionality, shown in listings (max 110 characters)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
urlNo
nameNo
slugNo
hiddenNo
publicNo
portalIdNo
descriptionNo
Install Server

TDQS

A4/5.0
Behavior4/5

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

Although annotations already signal idempotent and destructive behavior, the description adds meaningful side-effect context: changing the slug affects product URLs, public/hidden control visibility versus navigation display, and name changes affect user-facing listings. No contradiction with annotations exists.

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 opening sentence is concise and front-loaded, and the 'Toolset' heading groups context. However, the parameter section duplicates schema descriptions nearly verbatim, adding unnecessary length beyond what the structured schema already provides.

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?

For an update tool with one required parameter and six well-documented fields, the description plus schema covers the necessary inputs and key effects. The output schema is present so return-value details need not be in the description; only permissions/preconditions are not addressed, which is a minor gap.

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 description repeats the schema's parameter descriptions rather than adding new meaning. The bullet list is readable, but it does not compensate for anything missing in the schema, so it earns the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Update a product's settings within a specific portal.' The scope ('within a specific portal') and the title distinguish it from related siblings such as swagger_update_portal, swagger_create_portal_product, and swagger_delete_portal_product.

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?

The description clearly signals its use case: updating an existing product's configuration in a portal. It does not explicitly name alternatives or exclusion conditions, so it falls short of full guidance, but the context is clear enough for an agent to select it over create/delete/get siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SmartBear/smartbear-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server