Skip to main content
Glama

Find and rank buyers

exim__search__run

Discovers buyer or supplier companies for a product and target market, scores and ranks them, and saves them to a collection. Runs asynchronously; track it with run status. Requires the confirmed flag and preview token.

Input Schema

NameRequiredDescriptionDefault
nameNoCollection name (auto-slug if omitted)
limitNoRequested verified companies (1-30, default 30)
hsCodeNoHS code (anchors the corridor + tariff context; agent should disambiguate via exim hscode search before kickoff)
productYesProduct to find buyers/sellers for
categoryNoTrade direction: export (you sell, we find buyers) or import (you buy, we find sellers).
industryNoIndustry
locationNoTarget market country (name/ISO2/ISO3, e.g. Germany/DE/DEU); sub-country state/city is not filtered
confirmedNoFor CLI calls, true starts discovery and false returns criteria for confirmation. Chat turns start discovery immediately.
directionNoAgent-friendly synonym for category. "buyers" → export (you sell); "sellers" → import (you buy). Mutually exclusive with category; if both pass, direction wins for preview text.
previewTokenNoFor CLI calls, echo the previewToken from confirmed=false to confirm identical criteria. Chat turns do not require a previewToken.
excludeLocationNoExclude locations
exporterCountryNoOrigin country of the goods, distinct from the target buyer market
excludeBusinessTypeNoExclude business types
targetBusinessDescriptionNoTarget buyer/seller profile

Output Schema

NameRequiredDescriptionDefault
dataYes
statsNo
_debugNo
summaryYes
warningsNo
nextActionsYes
correlationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / direction / description
      Previous value: -"Agent-friendly synonym for --category. \"buyers\" → export (you sell); \"sellers\" → import (you buy). Mutually exclusive with --category; if both pass, --direction wins for preview text."New value: +"Agent-friendly synonym for category. \"buyers\" → export (you sell); \"sellers\" → import (you buy). Mutually exclusive with category; if both pass, direction wins for preview text."
    • changedInput schema / properties / previewToken / description
      Previous value: -"For CLI calls, echo the previewToken from --confirmed=false to confirm identical criteria. Chat turns do not require a previewToken."New value: +"For CLI calls, echo the previewToken from confirmed=false to confirm identical criteria. Chat turns do not require a previewToken."
  2. Changed2 schema fields changed
    • changedInput schema / properties / direction / description
      Previous value: -"Agent-friendly synonym for category. \"buyers\" → export (you sell); \"sellers\" → import (you buy). Mutually exclusive with category; if both pass, direction wins for preview text."New value: +"Agent-friendly synonym for --category. \"buyers\" → export (you sell); \"sellers\" → import (you buy). Mutually exclusive with --category; if both pass, --direction wins for preview text."
    • changedInput schema / properties / previewToken / description
      Previous value: -"For CLI calls, echo the previewToken from confirmed=false to confirm identical criteria. Chat turns do not require a previewToken."New value: +"For CLI calls, echo the previewToken from --confirmed=false to confirm identical criteria. Chat turns do not require a previewToken."
  3. Changed2 schema fields changed
    • changedInput schema / properties / direction / description
      Previous value: -"Agent-friendly synonym for --category. \"buyers\" → export (you sell); \"sellers\" → import (you buy). Mutually exclusive with --category; if both pass, --direction wins for preview text."New value: +"Agent-friendly synonym for category. \"buyers\" → export (you sell); \"sellers\" → import (you buy). Mutually exclusive with category; if both pass, direction wins for preview text."
    • changedInput schema / properties / previewToken / description
      Previous value: -"For CLI calls, echo the previewToken from --confirmed=false to confirm identical criteria. Chat turns do not require a previewToken."New value: +"For CLI calls, echo the previewToken from confirmed=false to confirm identical criteria. Chat turns do not require a previewToken."
  4. Changed30 schema fields changed
    • addedInput schema / not
      Added value: +{
      +  "anyOf": [
      +    {
      +      "not": {
      +        "x-argumentRequirement": {
      +          "if": {
      +            "allOf": [
      +              {
      +                "properties": {
      +                  "confirmed": {
      +                    "anyOf": [
      +                      {
      +                        "const": true
      +                      },
      +                      {
      +                        "pattern": "^\\s*([Tt][Rr][Uu][Ee]|1)\\s*$",
      +                        "type": "string"
      +                      }
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "confirmed"
      +                ]
      +              }
      +            ]
      +          },
      +          "then": {
      +            "anyOf": [
      +              {
      +                "properties": {
      +                  "previewToken": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "previewToken"
      +                ]
      +              }
      +            ]
      +          }
      +        }
      +      }
      +    }
      +  ]
      +}
    • removedInput schema / properties / --category
      Removed value: -{
      -  "description": "Trade direction: export (you sell, we find buyers) or import (you buy, we find sellers).",
      -  "enum": [
      -    "export",
      -    "import"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / --confirmed
      Removed value: -{
      -  "description": "For CLI calls, true starts discovery and false returns criteria for confirmation. Chat turns start discovery immediately.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / --direction
      Removed value: -{
      -  "description": "Agent-friendly synonym for --category. \"buyers\" → export (you sell); \"sellers\" → import (you buy). Mutually exclusive with --category; if both pass, --direction wins for preview text.",
      -  "enum": [
      -    "buyers",
      -    "sellers",
      -    "export",
      -    "import"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / --excludeBusinessType
      Removed value: -{
      -  "description": "Exclude business types",
      -  "type": "string"
      -}
    • removedInput schema / properties / --excludeLocation
      Removed value: -{
      -  "description": "Exclude locations",
      -  "type": "string"
      -}
    • removedInput schema / properties / --exporterCountry
      Removed value: -{
      -  "description": "Origin country of the goods, distinct from the target buyer market",
      -  "type": "string"
      -}
    • removedInput schema / properties / --hsCode
      Removed value: -{
      -  "description": "HS code (anchors the corridor + tariff context; agent should disambiguate via exim hscode search before kickoff)",
      -  "type": "string"
      -}
    • removedInput schema / properties / --industry
      Removed value: -{
      -  "description": "Industry",
      -  "type": "string"
      -}
    • removedInput schema / properties / --location
      Removed value: -{
      -  "description": "Target market country (name/ISO2/ISO3, e.g. Germany/DE/DEU); sub-country state/city is not filtered",
      -  "type": "string"
      -}
    • removedInput schema / properties / --name
      Removed value: -{
      -  "description": "Collection name (auto-slug if omitted)",
      -  "type": "string"
      -}
    • removedInput schema / properties / --previewToken
      Removed value: -{
      -  "description": "For CLI calls, echo the previewToken from --confirmed=false to confirm identical criteria. Chat turns do not require a previewToken.",
      -  "type": "string"
      -}
    • removedInput schema / properties / --product
      Removed value: -{
      -  "description": "Product to find buyers/sellers for",
      -  "type": "string"
      -}
    • removedInput schema / properties / --targetBusinessDescription
      Removed value: -{
      -  "description": "Target buyer/seller profile",
      -  "type": "string"
      -}
    • addedInput schema / properties / category
      Added value: +{
      +  "description": "Trade direction: export (you sell, we find buyers) or import (you buy, we find sellers).",
      +  "enum": [
      +    "export",
      +    "import"
      +  ],
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / confirmed
      Added value: +{
      +  "description": "For CLI calls, true starts discovery and false returns criteria for confirmation. Chat turns start discovery immediately.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / direction
      Added value: +{
      +  "description": "Agent-friendly synonym for --category. \"buyers\" → export (you sell); \"sellers\" → import (you buy). Mutually exclusive with --category; if both pass, --direction wins for preview text.",
      +  "enum": [
      +    "buyers",
      +    "sellers",
      +    "export",
      +    "import"
      +  ],
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / excludeBusinessType
      Added value: +{
      +  "description": "Exclude business types",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / excludeLocation
      Added value: +{
      +  "description": "Exclude locations",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / exporterCountry
      Added value: +{
      +  "description": "Origin country of the goods, distinct from the target buyer market",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / hsCode
      Added value: +{
      +  "description": "HS code (anchors the corridor + tariff context; agent should disambiguate via exim hscode search before kickoff)",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / industry
      Added value: +{
      +  "description": "Industry",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Requested verified companies (1-30, default 30)",
      +  "maximum": 30,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / location
      Added value: +{
      +  "description": "Target market country (name/ISO2/ISO3, e.g. Germany/DE/DEU); sub-country state/city is not filtered",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Collection name (auto-slug if omitted)",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / previewToken
      Added value: +{
      +  "description": "For CLI calls, echo the previewToken from --confirmed=false to confirm identical criteria. Chat turns do not require a previewToken.",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / product
      Added value: +{
      +  "description": "Product to find buyers/sellers for",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / targetBusinessDescription
      Added value: +{
      +  "description": "Target buyer/seller profile",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "--product"
      -]New value: +[
      +  "product"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "value0": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "busyUntil": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "category": {
      +          "type": "string"
      +        },
      +        "collectionId": {
      +          "type": "string"
      +        },
      +        "excludeBusinessType": {
      +          "type": "string"
      +        },
      +        "excludeLocation": {
      +          "type": "string"
      +        },
      +        "expectedRuntime": {
      +          "type": "string"
      +        },
      +        "hsCode": {
      +          "type": "string"
      +        },
      +        "industry": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "type": "string"
      +        },
      +        "location": {
      +          "type": "string"
      +        },
      +        "previewToken": {
      +          "type": "string"
      +        },
      +        "product": {
      +          "type": "string"
      +        },
      +        "runId": {
      +          "type": "string"
      +        },
      +        "targetBusinessDescription": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "busyUntil",
      +        "category",
      +        "collectionId",
      +        "excludeBusinessType",
      +        "excludeLocation",
      +        "expectedRuntime",
      +        "hsCode",
      +        "industry",
      +        "kind",
      +        "location",
      +        "previewToken",
      +        "product",
      +        "runId",
      +        "targetBusinessDescription"
      +      ],
      +      "type": "object"
      +    },
      +    "value1": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "busyUntil": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "collectionId": {
      +          "type": "string"
      +        },
      +        "runId": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "collectionId",
      +        "runId"
      +      ],
      +      "type": "object"
      +    },
      +    "value2": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value3": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value4"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value4": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "command": {
      +          "type": "string"
      +        },
      +        "cost": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "rationale": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "command",
      +        "cost",
      +        "label",
      +        "rationale"
      +      ],
      +      "type": "object"
      +    },
      +    "value5": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": "number"
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value6": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value7"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value7": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    "value8": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "_debug": {
      +      "$ref": "#/$defs/value8"
      +    },
      +    "correlationId": {
      +      "type": "string"
      +    },
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "context": {
      +          "type": [
      +            "null",
      +            "boolean",
      +            "number",
      +            "string",
      +            "array",
      +            "object"
      +          ]
      +        },
      +        "cursor": {
      +          "type": "string"
      +        },
      +        "has_more": {
      +          "type": "boolean"
      +        },
      +        "items": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "category": {
      +                        "type": "string"
      +                      },
      +                      "direction": {
      +                        "type": "string"
      +                      },
      +                      "exclude_business_type": {
      +                        "type": "string"
      +                      },
      +                      "exclude_location": {
      +                        "type": "string"
      +                      },
      +                      "expectedRuntime": {
      +                        "type": "string"
      +                      },
      +                      "hs_code": {
      +                        "type": "string"
      +                      },
      +                      "industry": {
      +                        "type": "string"
      +                      },
      +                      "kind": {
      +                        "const": "criteria-preview"
      +                      },
      +                      "location": {
      +                        "type": "string"
      +                      },
      +                      "previewToken": {
      +                        "type": "string"
      +                      },
      +                      "product": {
      +                        "type": "string"
      +                      },
      +                      "target_business_description": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "expectedRuntime",
      +                      "kind",
      +                      "previewToken"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "$ref": "#/$defs/value1"
      +                  }
      +                ]
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "context",
      +        "has_more",
      +        "items"
      +      ],
      +      "type": "object"
      +    },
      +    "nextActions": {
      +      "$ref": "#/$defs/value3"
      +    },
      +    "stats": {
      +      "$ref": "#/$defs/value5"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "$ref": "#/$defs/value6"
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "nextActions",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false), and the description adds material behavior beyond them: asynchronous execution, the fact that results are persisted to a collection (a side effect), and a confirmation gate via confirmed/previewToken. The async nature and confirmation flow are exactly the kind of runtime context annotations cannot express.

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 tight sentences. The core action and side effect are front-loaded, followed by the async/confirmation constraints. No filler or repetition of the name.

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 an output schema handling return details and annotations covering safety, the description adequately covers the async lifecycle, persistence side effect, and prerequisite flags for a 14-parameter tool. The only gap is explicit routing against sibling discovery tools.

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%, so the schema already documents all 14 parameters. The description only reinforces the confirmed/previewToken prerequisites and adds no syntax or format meaning beyond the schema, which is the baseline 3 case.

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 specific compound action: discovers buyer/supplier companies for a product and target market, scores and ranks them, and saves them to a collection. This is clearly distinguishable from sibling analytics/collection tools. It stops short of naming an alternative like exim__prospects__find, so it falls just below the top band.

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 provides operational guidance (runs asynchronously, track via run status) and prerequisites (requires confirmed flag and preview token), which is genuine when/how context. However, it never states when to prefer this over adjacent discovery tools such as exim__prospects__find or the companies__* family, leaving the main selection question implied.

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.