Skip to main content
Glama
shopino-mcp

shopino-mcp

by sepehr071

Campaign page

sh_campaign
Read-onlyIdempotent

Open a campaign or landing page by slug to inspect product rows with prices and tabs, then route listing, shop, category, or flash-sale tabs to browse or deals.

Instructions

Open a campaign or landing page: its product rows (with prices) and tabs.

A tab's listing / shop_id / category_id go to sh_browse; flash_sale -> sh_deals.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "sh_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug from sh_deals campaigns, e.g. 'sale07', 'clothing', 'bag'.
per_rowNoProducts per row.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • changedInput schema / properties / slug / description
      Previous value: -"Slug from sh_deals campaigns, e.g. 'sale07', or 'clothing', 'bag', 'shoes', 'sports'."New value: +"Slug from sh_deals campaigns, e.g. 'sale07', 'clothing', 'bag'."
  2. Changed6 schema fields changedv0.3.0
    • changedInput schema / properties / per_row / description
      Previous value: -"Products to show per product row."New value: +"Products per row."
    • removedInput schema / properties / per_row / title
      Removed value: -"Per Row"
    • changedInput schema / properties / slug / description
      Previous value: -"Campaign / landing slug from sh_deals campaigns, e.g. 'sale07', or a top category's: 'clothing', 'bag', 'shoes', 'sports'."New value: +"Slug from sh_deals campaigns, e.g. 'sale07', or 'clothing', 'bag', 'shoes', 'sports'."
    • removedInput schema / properties / slug / title
      Removed value: -"Slug"
    • removedInput schema / title
      Removed value: -"sh_campaignArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "sh_campaignDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. Beyond that, the description adds return-shape information (product rows with prices, plus tabs) and explains that tab types carry different identifiers that determine the next tool — genuinely useful behavioral context.

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?

Two short sentences, front-loaded with the purpose and followed by routing info. The second sentence is telegraphic ('A tab's ... go to') and reads slightly like notes, but nothing is wasted.

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?

With no output schema, the description must convey what comes back; it does so at a coarse level (product rows with prices, tabs with typed identifiers). It does not describe pagination, error behavior for invalid slugs, or tab structure in detail, but an agent has enough to call it correctly and route onward.

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%: `slug` already documents its pattern and example values, and `per_row` documents default and min/max. The description adds no extra meaning about either parameter, so the baseline 3 applies.

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?

Description states a specific verb and resource: 'Open a campaign or landing page' and names what it yields ('product rows (with prices) and tabs'). It distinguishes itself implicitly from siblings like sh_deals and sh_browse by being the campaign-page opener, though it never says so explicitly.

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?

Gives concrete routing advice: tab fields `listing`/`shop_id`/`category_id` go to sh_browse, `flash_sale` goes to sh_deals. That tells the agent what to do after this call, but it does not say when to choose sh_campaign over sh_deals or sh_search in the first place — that context is only implied.

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