Skip to main content
Glama
Garu-Pagamentos

garu-mcp

Official

set_product_portal_config

Create or update per-product portal customization by providing only the fields to change; unspecified fields remain unchanged. Supports customizing logo, colors, business name, and portal feature toggles.

Instructions

Create or merge the per-product portal customization. Both this tool and PATCH have the same merge semantics: only fields you provide are written; unspecified fields keep their persisted value. Use clear_product_portal_config (DELETE) to reset everything. Each Boolean / string field can be passed as null to inherit from the seller-level config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logoUrlNoHTTPS URL of the logo image.
productIdYesProduct identifier — accepts the UUID (preferred — same id returned by list_products and webhook payloads) or the legacy positive integer id. UUID support added in Garu v0.10.0.
businessNameNoDisplay name shown on the hosted payment page header.
primaryColorNoPrimary brand color in hex (e.g. '#257264').
allowApplyCouponsNo
allowViewInvoicesNo
customWelcomeTextNo
requireCancelReasonNo
customSuccessMessageNo
cancelAtPeriodEndOnlyNo
sendCancellationEmailNo
allowUpdateBillingInfoNo
allowCancelSubscriptionNo
allowUpdatePaymentMethodNo
customCancellationMessageNo
sendPaymentMethodUpdatedEmailNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses merge semantics and null inheritance, but does not cover error handling, idempotency, permissions, or side effects like webhook triggers. The behavior is partially transparent.

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?

The description is short (two sentences plus a third about null) and front-loaded with the core purpose. It is efficient with no wasted words, though the mention of PATCH semantics could be integrated more smoothly.

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?

Given the high complexity (16 parameters, no output schema, no annotations), the description explains merge semantics and the null pattern. However, it omits return value, error conditions, and an overview of the config fields, leaving room for improvement.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%. The description adds that each Boolean/string field can be null to inherit from seller-level config, which is valuable. However, it does not list or describe the many undocumented parameters (e.g., allowApplyCoupons, customWelcomeText), leaving a significant gap.

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?

The description clearly states 'Create or merge the per-product portal customization,' specifying the verb and resource. It distinguishes from siblings like clear_product_portal_config and get_product_portal_config, though it doesn't explicitly differentiate from update_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 explains merge semantics, note that unspecified fields persist, and recommends clear_product_portal_config to reset. It also notes null inherits from seller-level config. However, it does not explicitly state when to create vs merge or mention alternatives like update_product.

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

Install Server

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/Garu-Pagamentos/garu-mcp'

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