Skip to main content
Glama

Hoplix Print on Demand

Get campaign details

get_campaign
Read-onlyIdempotent

Details of one of the seller's campaigns: name, description, URL, status, currency and its products with product-id, price, colours, sizes and preview images. The product-id identifies a campaign product in quotes and orders.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "get_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign id (e.g. "00608240")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds useful cross-tool context by explaining that product-id identifies a campaign product in quotes and orders. It stops short of stating behaviour for a missing/invalid campaign or whether products can be empty.

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?

Purpose is front-loaded in the opening clause, and the field enumeration earns its place because no output schema exists. The second sentence on product-id is a slightly tangential cross-reference but is short and valuable; the field list is dense but not padded.

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 carry the return-value burden, and it does so by listing the campaign fields and nested product attributes. Remaining gaps are minor: no error/empty-result expectations and no note on whether all products are returned at once or paginated.

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?

There is a single parameter with 100% schema coverage and an inline example ("00608240"), so the schema does the heavy lifting and baseline 3 applies. The description adds only a weak scoping hint that the campaign belongs to 'the seller', with no extra detail on id format or source of the id.

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 names a specific verb+resource (details of a single campaign) and enumerates the returned fields, which lets an agent distinguish it from list_campaigns and from get_product without opening a schema. It never names those siblings explicitly, so the differentiation is implied by 'one of the seller's campaigns' rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is for fetching one known campaign by id rather than browsing (list_campaigns) or creating (create_campaign). There is no explicit when-to-use, no prerequisite note that a valid campaign_id must already exist, and no statement about what happens for an unknown id.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources