Skip to main content
Glama
SmartBear MCP server

SmartBear MCP server

Official
by SmartBear

Swagger: Get Portal Product

swagger_get_portal_product
Read-onlyIdempotent

Retrieve details for a specific Swagger portal product using its UUID or portal-subdomain:product-slug identifier, enabling AI assistants to look up product information.

Instructions

Retrieve information about a specific product resource.

Toolset: Products

Parameters:

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

Input Schema

NameRequiredDescriptionDefault
productIdYesProduct UUID or identifier in the format 'portal-subdomain:product-slug' - unique identifier for the product

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
nameNo
slugNo
publicNo
portalIdNo
visibilityNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.43.0
    • removedOutput schema / properties / hidden
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / properties / visibility
      Added value: +{
      +  "enum": [
      +    "visible",
      +    "hidden",
      +    "conditional"
      +  ],
      +  "type": "string"
      +}
  2. Addedv0.40.0
  3. Removedv0.34.0
  4. Changed1 schema field changedv0.30.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "description": {
      +      "type": "string"
      +    },
      +    "hidden": {
      +      "type": "boolean"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "portalId": {
      +      "type": "string"
      +    },
      +    "public": {
      +      "type": "boolean"
      +    },
      +    "slug": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  5. First observedv0.27.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered elsewhere. The description adds nothing behavioral beyond that — no auth/scope requirements, no error behavior for an unknown or malformed identifier, no note on what the identifier format resolves against. The 'Toolset: Products' line is organizational, not behavioral.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose sentence, and the parameter block is compact. The duplication of the schema's productId text is mild waste but not harmful, and there is no filler prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the tool has only one required parameter. What remains missing is the practical context an agent needs to actually obtain a valid identifier and to know this is the read-only counterpart to create/update/delete/publish on the same resource — the definition is adequate but thin for a lookup tool in a large multi-tool namespace.

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's parameter block is a verbatim restatement of the productId schema description, so it adds no meaning beyond the schema. Baseline 3 applies because the schema already carries the identifier format ('portal-subdomain:product-slug') and requiredness.

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 specific verb and resource: 'Retrieve information about a specific product resource.' An agent can tell this is a single-item read of a portal product, distinct from swagger_list_portal_products or swagger_delete_portal_product. It does not explicitly name or contrast with those siblings, and 'product resource' is slightly generic, keeping it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as swagger_list_portal_products (to find an ID first) or swagger_get_portal (for the parent portal). The agent must infer usage entirely from the name and the single required parameter.

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

Deploy Server

Other Tools