Skip to main content
Glama

sbis_add_cabinet

Idempotent

Add or update Ozon/Wildberries API credentials as a cabinet from chat. Requires confirming keys enter the transcript; saves locally to ~/.marketplace-mcp/cabinets.json.

Instructions

Add or update a cabinet (a named set of API credentials), from chat.

⚠️ This puts the key into the chat transcript — requires i_understand_key_goes_to_chat=true. The terminal-free safe alternative is the installer (install.py / double-click), where the key never enters chat.

Args: credentials: dict with the required fields for this service ({fields}). For Ozon: {{"client_id": "...", "api_key": "..."}}; for WB: {{"token": "..."}}. name: optional label. If omitted, the cabinet is named after the real shop name fetched from the marketplace (falls back to "main"). i_understand_key_goes_to_chat: must be true to proceed. Saved to ~/.marketplace-mcp/cabinets.json (local, chmod 600), never echoed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
credentialsYes
i_understand_key_goes_to_chatNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond annotations, it discloses that the key is placed in the transcript, that the credential persists to ~/.marketplace-mcp/cabinets.json, that the file gets chmod 600, and that the key is never echoed. These side effects are valuable and not present in annotations, and nothing contradicts readOnly/idempotent hints.

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

Conciseness5/5

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

The description is compact and front-loaded with the most important security warning before transitioning to parameters. Every sentence adds necessary information; the warning, alternative, and parameter examples are all purposeful.

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?

The description is very complete for a write tool: security, storage, permissions, parameter shapes, and fallback naming are all covered. The only minor gap is the unresolved '({fields})' placeholder for services beyond Ozon/WB, and it does not spell out update-overwrite semantics, though output schema and annotations cover some of the remainder.

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

Parameters5/5

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

Schema coverage is 0%, but the description compensates fully: it explains credentials as a dict, gives concrete Ozon and WB shapes, defines optional name with fallback behavior, and explains the i_understand_key_goes_to_chat gate. This is exactly the meaning the bare schema lacks.

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 states a specific action ('Add or update') on a well-defined resource ('cabinet' = named set of API credentials) and scopes it clearly ('from chat'). This sits apart from siblings like remove/use/list by verb and resource, and defines the core object.

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

Usage Guidelines5/5

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

It explicitly warns that the key enters the chat transcript, requires i_understand_key_goes_to_chat=true, and names a concrete safer alternative (installer) for cases where key-in-chat is unacceptable. This is clear when-to-use / when-not-to-use guidance.

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