Skip to main content
Glama

Shopi

Do I already own this?

check_owned
Read-only

Whether the signed-in shopper (or their household) already owns this product, with a count. Needs the shopper to connect Shopi. Use the product_id from get_verdict.

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": {
      "product": "<product>"
    },
    "name": "check_owned"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYesA Shopi product_id, as returned by get_verdict.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuine context beyond that: the check covers the shopper's household as well as the shopper, the result includes a count, and an external auth connection (Shopi) is required. It does not describe output shape or failure behavior when the shopper is unconnected.

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?

Two sentences, zero filler, with the core purpose and the count result front-loaded before the prerequisite and provenance notes. Every clause carries information the agent needs.

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?

For a one-parameter boolean-style lookup with annotations covering safety and no output schema, the description supplies the auth prerequisite, the household scope, and a hint that a count is returned. Only the exact return shape remains unstated, which is a minor gap given the tool's simplicity.

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

Parameters4/5

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

Schema coverage is 100% and the single parameter already carries a description and regex pattern, so the baseline is 3. The description earns an extra point by telling the agent where the value must come from ('the product_id from get_verdict'), which is provenance the schema cannot express.

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 states a precise question the tool answers ('whether the signed-in shopper (or their household) already owns this product, with a count'), which unambiguously identifies the resource and scope. It falls short of a 5 only because it does not contrast itself with any sibling that could be mistaken for it (e.g., get_verdict), instead mentioning get_verdict purely as a data source.

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?

It gives a concrete precondition ('Needs the shopper to connect Shopi') and a sourcing instruction ('Use the product_id from get_verdict'), which is real operational guidance. However, it never states when to call this versus the other ownership-adjacent tools, nor any when-not condition, so usage is implied rather than prescribed.

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