Skip to main content
Glama

find_common_stores

Read-onlyIdempotent

Finds stores in Slovakia for one to ten product variants, optionally filtered by city, and can require explicit in-stock confirmation for every requested product.

Instructions

Find stores for one to ten unique product variants in Slovakia, optionally filtered by city. all_in_stock requires explicit inStock for every requested product. Missing observations and failures remain unknown. Pickup text is separate from stock; quantities and branch prices are unknown.

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_ids": "<product_ids>"
    },
    "name": "find_common_stores"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
product_idsYes

Output Schema

NameRequiredDescriptionDefault
marketYes
storesYes
completeYes
productsYes
checked_atYes
city_filterYes
product_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.2
    • changedOutput schema / properties / products / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "checked_at": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -        "type": "string"
      -      },
      -      "error": {
      -        "type": "null"
      -      },
      -      "product_id": {
      -        "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "product_id",
      -      "checked_at",
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "checked_at": {
      -        "type": "null"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "not_found",
      -              "rate_limited",
      -              "upstream_unavailable",
      -              "invalid_response",
      -              "timeout",
      -              "cancelled",
      -              "overloaded",
      -              "internal_error"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "product_id": {
      -        "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "product_id",
      -      "checked_at",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "checked_at": {
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +        "type": "string"
      +      },
      +      "error": {
      +        "type": "null"
      +      },
      +      "product_id": {
      +        "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "product_id",
      +      "checked_at",
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "checked_at": {
      +        "type": "null"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "invalid_input",
      +              "not_found",
      +              "rate_limited",
      +              "upstream_unavailable",
      +              "invalid_response",
      +              "timeout",
      +              "cancelled",
      +              "overloaded",
      +              "internal_error"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "product_id": {
      +        "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,99}$",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "product_id",
      +      "checked_at",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / stores / items / properties / products / items / properties / error / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "enum": [
      -          "not_found",
      -          "rate_limited",
      -          "upstream_unavailable",
      -          "invalid_response",
      -          "timeout",
      -          "cancelled",
      -          "overloaded",
      -          "internal_error"
      -        ],
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "retryable": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "message",
      -      "retryable"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "enum": [
      +          "invalid_input",
      +          "not_found",
      +          "rate_limited",
      +          "upstream_unavailable",
      +          "invalid_response",
      +          "timeout",
      +          "cancelled",
      +          "overloaded",
      +          "internal_error"
      +        ],
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "retryable": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message",
      +      "retryable"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Addedv0.3.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, yet the description adds real semantics: unknown states for missing observations and failures, pickup text being separate from stock, and quantities/branch prices being absent. The 'all_in_stock requires explicit inStock' sentence is a dangling reference not present in the schema, which muddies otherwise useful disclosure.

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?

Four short sentences, front-loaded with the core purpose and constraints before the caveats. Most sentences earn their place, though the all_in_stock sentence is unexplained and costs clarity.

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?

An output schema exists, so return values need not be described, and annotations cover the safety profile. However, the unexplained all_in_stock reference hints at behavior or a parameter the agent cannot resolve, and there is no guidance on how multiple variants are intersected, leaving a gap for a 2-parameter intersection tool.

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 0%, so the description must carry parameter meaning. It does add the 'unique' constraint on product_ids (not encoded in the schema) and confirms city is optional, but it never explains the product ID format or city matching behavior, and its all_in_stock mention maps to no actual parameter.

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?

States a specific verb and resource ('Find stores') plus the scope: one to ten unique product variants in Slovakia, optional city filter. The 'common' intersection semantics are implied by the multi-variant constraint. It does not distinguish itself from the sibling find_stores, so an agent must infer the difference.

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 implied by the constraints (1-10 variants, city optional, Slovakia-only) rather than stated as when-to-use guidance. There is no explicit comparison or exclusion against find_stores or find_product_availability, leaving the agent to guess which tool applies to a single-product lookup.

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