Skip to main content
Glama

Similar trading companies

exim__companies__similar
Read-onlyIdempotent

Same result as companies competitors: companies trading the same HS codes into the same country, ranked by overlap and volume.

Input Schema

NameRequiredDescriptionDefault
nameNocompany name (used with country when no tax id)
limitNomax rows (1-1000, default 100)
taxIdNocompany tax id (RUC/NIT/RUT) — the strong identity key
countryNoreporting country (ISO 2) to scope the directory

Output Schema

NameRequiredDescriptionDefault
dataYes
statsNo
_debugNo
summaryYes
warningsNo
nextActionsYes
correlationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed58 schema fields changed
    • addedOutput schema / $defs / value11 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value11 / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": [
      -        "null",
      -        "boolean",
      -        "number",
      -        "string",
      -        "array",
      -        "object"
      -      ]
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value11 / properties
      Added value: +{
      +  "company": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/value13"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "fit": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/value12"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "membership": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/value14"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "pending": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/value17"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  }
      +}
    • addedOutput schema / $defs / value11 / type
      Added value: +"object"
    • addedOutput schema / $defs / value12 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value12 / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/value13"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value12 / properties
      Added value: +{
      +  "company_id": {
      +    "anyOf": [
      +      {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "created_at": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "discovery_source": {
      +    "type": "string"
      +  },
      +  "evidence_tier": {
      +    "type": "integer"
      +  },
      +  "id": {
      +    "anyOf": [
      +      {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "match_reasons": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "priority": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "reasoning": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "score": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "target_id": {
      +    "anyOf": [
      +      {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "target_kind": {
      +    "type": "string"
      +  },
      +  "updated_at": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "user_id": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / $defs / value12 / required
      Added value: +[
      +  "company_id",
      +  "created_at",
      +  "discovery_source",
      +  "evidence_tier",
      +  "id",
      +  "match_reasons",
      +  "priority",
      +  "reasoning",
      +  "score",
      +  "target_id",
      +  "target_kind",
      +  "updated_at",
      +  "user_id"
      +]
    • addedOutput schema / $defs / value12 / type
      Added value: +"object"
    • addedOutput schema / $defs / value13 / properties / address
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value13 / properties / base_url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value13 / properties / canonical_url
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / $defs / value13 / properties / command
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / $defs / value13 / properties / cost
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value13 / properties / country
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value13 / properties / description
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value13 / properties / id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value13 / properties / industry
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • removedOutput schema / $defs / value13 / properties / label
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value13 / properties / name
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / $defs / value13 / properties / rationale
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / value13 / properties / resolution_source
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / $defs / value13 / properties / trade_potential
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value13 / properties / trade_potential_reasoning
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value13 / properties / updated_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value13 / properties / url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / $defs / value13 / required
      Previous value: -[
      -  "command",
      -  "cost",
      -  "label",
      -  "rationale"
      -]New value: +[
      +  "address",
      +  "base_url",
      +  "canonical_url",
      +  "country",
      +  "description",
      +  "id",
      +  "industry",
      +  "name",
      +  "resolution_source",
      +  "trade_potential",
      +  "trade_potential_reasoning",
      +  "updated_at",
      +  "url"
      +]
    • addedOutput schema / $defs / value14 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value14 / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": {
      -      "type": "number"
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value14 / properties
      Added value: +{
      +  "ai_column_meta": {
      +    "type": [
      +      "null",
      +      "boolean",
      +      "number",
      +      "string",
      +      "array",
      +      "object"
      +    ]
      +  },
      +  "ai_column_values": {
      +    "$ref": "#/$defs/value16"
      +  },
      +  "canonical_url": {
      +    "type": "string"
      +  },
      +  "collection_id": {
      +    "anyOf": [
      +      {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "company_country": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "company_id": {
      +    "anyOf": [
      +      {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "company_name": {
      +    "type": "string"
      +  },
      +  "company_url": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "created_at": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "discovery_source": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "id": {
      +    "anyOf": [
      +      {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "keywords": {
      +    "$ref": "#/$defs/value15"
      +  },
      +  "match_reasons": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "outreach_stage": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "priority": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "reasoning": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "score": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "updated_at": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  }
      +}
    • addedOutput schema / $defs / value14 / required
      Added value: +[
      +  "ai_column_meta",
      +  "ai_column_values",
      +  "canonical_url",
      +  "collection_id",
      +  "company_country",
      +  "company_id",
      +  "company_name",
      +  "company_url",
      +  "created_at",
      +  "discovery_source",
      +  "id",
      +  "keywords",
      +  "match_reasons",
      +  "outreach_stage",
      +  "priority",
      +  "reasoning",
      +  "score",
      +  "updated_at"
      +]
    • addedOutput schema / $defs / value14 / type
      Added value: +"object"
    • changedOutput schema / $defs / value15 / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/value16"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / value16 / additionalProperties
      Removed value: -false
    • addedOutput schema / $defs / value16 / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / $defs / value16 / properties
      Removed value: -{
      -  "code": {
      -    "type": "string"
      -  },
      -  "message": {
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / $defs / value16 / required
      Removed value: -[
      -  "code",
      -  "message"
      -]
    • removedOutput schema / $defs / value16 / type
      Removed value: -"object"
    • addedOutput schema / $defs / value17 / additionalProperties
      Added value: +false
    • removedOutput schema / $defs / value17 / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": {
      -      "type": [
      -        "null",
      -        "boolean",
      -        "number",
      -        "string",
      -        "array",
      -        "object"
      -      ]
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / value17 / properties
      Added value: +{
      +  "displayName": {
      +    "type": "string"
      +  },
      +  "message": {
      +    "type": "string"
      +  },
      +  "pendingId": {
      +    "type": "string"
      +  },
      +  "reportingCountry": {
      +    "type": "string"
      +  },
      +  "status": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / $defs / value17 / required
      Added value: +[
      +  "displayName",
      +  "message",
      +  "pendingId",
      +  "reportingCountry",
      +  "status"
      +]
    • addedOutput schema / $defs / value17 / type
      Added value: +"object"
    • addedOutput schema / $defs / value18
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "id": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "url"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value19
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": [
      +          "null",
      +          "boolean",
      +          "number",
      +          "string",
      +          "array",
      +          "object"
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value20
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/$defs/value21"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value21
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "command": {
      +      "type": "string"
      +    },
      +    "cost": {
      +      "type": "string"
      +    },
      +    "label": {
      +      "type": "string"
      +    },
      +    "rationale": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "command",
      +    "cost",
      +    "label",
      +    "rationale"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value22
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "type": "number"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value23
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/$defs/value24"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / $defs / value24
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / value25
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "type": [
      +          "null",
      +          "boolean",
      +          "number",
      +          "string",
      +          "array",
      +          "object"
      +        ]
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / _debug / $ref
      Previous value: -"#/$defs/value17"New value: +"#/$defs/value25"
    • addedOutput schema / properties / data / properties / context / anyOf
      Added value: +[
      +  {
      +    "type": [
      +      "null",
      +      "boolean",
      +      "number",
      +      "string",
      +      "array",
      +      "object"
      +    ]
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "collection": {
      +        "$ref": "#/$defs/value18"
      +      },
      +      "sourceObservation": {
      +        "type": [
      +          "null",
      +          "boolean",
      +          "number",
      +          "string",
      +          "array",
      +          "object"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "sourceObservation"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties / data / properties / context / type
      Removed value: -[
      -  "null",
      -  "boolean",
      -  "number",
      -  "string",
      -  "array",
      -  "object"
      -]
    • changedOutput schema / properties / data / properties / items / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "$ref": "#/$defs/value0"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/$defs/value0"
      +        },
      +        {
      +          "$ref": "#/$defs/value11"
      +        }
      +      ]
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / nextActions / $ref
      Previous value: -"#/$defs/value12"New value: +"#/$defs/value20"
    • changedOutput schema / properties / stats / $ref
      Previous value: -"#/$defs/value14"New value: +"#/$defs/value22"
    • changedOutput schema / properties / warnings / $ref
      Previous value: -"#/$defs/value15"New value: +"#/$defs/value23"
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description contributes one genuinely useful behavioral fact — results are ranked by HS-code overlap and volume — but says nothing about how many are returned by default, how the seed company is required, or how ties are handled.

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?

A single well-formed sentence with the ranking behavior front and center. Minor waste in the opening 'Same result as companies competitors' framing, which is a sibling comparison rather than a statement of what the tool does.

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?

With an output schema and full annotations present, the description does not need to explain return values, and it correctly conveys the ranking concept. It is incomplete in one respect that matters for invocation: nothing tells the agent that a seed identity (taxId, or name plus country) is required to get any result, a constraint buried in a hard-to-read anyOf/not schema.

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%: taxId is labeled the strong identity key, name is used with country when no tax id, country is the ISO-2 scope, and limit defaults to 100. The description adds nothing beyond that, so baseline 3 applies. It notably does not surface the at-least-one-of taxId/name constraint expressed in the schema's anyOf, though that is schema's job.

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 resource and semantics: companies trading the same HS codes into the same country, ranked by overlap and volume. It also names its sibling (companies competitors), which makes the relationship explicit. It falls short of 5 only because leading with 'Same result as companies competitors' makes the tool read as an alias rather than stating on its own terms when an agent should pick it over that sibling.

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?

The cross-reference to companies competitors implies the two are interchangeable, but it does not say when to use this versus companies__customers, suppliers, graph, or profile-match__lookalike, all of which sit in the same 'find related companies' space. Usage is implied, not directed.

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.