Skip to main content
Glama

Rank collection by profile fit

exim__profile-match__rank
Read-onlyIdempotent

Ranks companies in a collection by fit against a saved ideal customer profile, with explained scores.

Input Schema

NameRequiredDescriptionDefault
nameNoSaved ideal profile name (or pass references)
referencesNoInline references JSON if no saved profile
collectionIdYesCollection of candidate companies to rank

Output Schema

NameRequiredDescriptionDefault
dataYes
statsNo
_debugNo
summaryYes
warningsNo
nextActionsYes
correlationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"Saved ideal profile name (or pass --references)"New value: +"Saved ideal profile name (or pass references)"
  2. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"Saved ideal profile name (or pass references)"New value: +"Saved ideal profile name (or pass --references)"
  3. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"Saved ideal profile name (or pass --references)"New value: +"Saved ideal profile name (or pass references)"
  4. Changed9 schema fields changed
    • addedInput schema / not
      Added value: +{
      +  "anyOf": [
      +    {
      +      "not": {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "name": {
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "name"
      +            ]
      +          },
      +          {
      +            "x-argumentCondition": {
      +              "key": "references",
      +              "predicate": "references"
      +            }
      +          }
      +        ]
      +      }
      +    }
      +  ]
      +}
    • removedInput schema / properties / --collectionId
      Removed value: -{
      -  "description": "Collection of candidate companies to rank",
      -  "type": "string"
      -}
    • removedInput schema / properties / --name
      Removed value: -{
      -  "description": "Saved ideal profile name (or pass --references)",
      -  "type": "string"
      -}
    • removedInput schema / properties / --references
      Removed value: -{
      -  "description": "Inline references JSON if no saved profile",
      -  "type": "string"
      -}
    • addedInput schema / properties / collectionId
      Added value: +{
      +  "description": "Collection of candidate companies to rank",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Saved ideal profile name (or pass --references)",
      +  "maxLength": 120,
      +  "type": "string"
      +}
    • addedInput schema / properties / references
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 20000,
      +      "type": "string"
      +    },
      +    {
      +      "type": [
      +        "null",
      +        "boolean",
      +        "number",
      +        "string",
      +        "array",
      +        "object"
      +      ]
      +    }
      +  ],
      +  "contentSchema": {
      +    "type": [
      +      "null",
      +      "boolean",
      +      "number",
      +      "string",
      +      "array",
      +      "object"
      +    ]
      +  },
      +  "description": "Inline references JSON if no saved profile"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "--collectionId"
      -]New value: +[
      +  "collectionId"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "value0": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "candidatePool": {
      +          "type": "integer"
      +        },
      +        "coverage": {
      +          "$ref": "#/$defs/value15"
      +        },
      +        "hardConstraints": {
      +          "$ref": "#/$defs/value11"
      +        },
      +        "idealProfileName": {
      +          "type": "string"
      +        },
      +        "ranked": {
      +          "$ref": "#/$defs/value1"
      +        },
      +        "relaxedConstraints": {
      +          "$ref": "#/$defs/value14"
      +        },
      +        "retrievalAttributes": {
      +          "$ref": "#/$defs/value13"
      +        },
      +        "softDimensions": {
      +          "$ref": "#/$defs/value12"
      +        }
      +      },
      +      "required": [
      +        "candidatePool",
      +        "coverage",
      +        "idealProfileName",
      +        "ranked"
      +      ],
      +      "type": "object"
      +    },
      +    "value1": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value2"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value10": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value11": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value12": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value13": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value14": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value15": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "blindSpot": {
      +          "type": "string"
      +        },
      +        "confidence": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "country": {
      +          "$ref": "#/$defs/value16"
      +        },
      +        "display": {
      +          "type": "string"
      +        },
      +        "period": {
      +          "$ref": "#/$defs/value17"
      +        },
      +        "scope": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "confidence",
      +        "country",
      +        "display",
      +        "period",
      +        "status"
      +      ],
      +      "type": "object"
      +    },
      +    "value16": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value17": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "end": {
      +          "type": "string"
      +        },
      +        "start": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "end",
      +        "start"
      +      ],
      +      "type": "object"
      +    },
      +    "value18": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value19": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value20"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value2": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "candidateCompanyId": {
      +          "type": "string"
      +        },
      +        "candidateCompanyName": {
      +          "type": "string"
      +        },
      +        "candidateWebsite": {
      +          "type": "string"
      +        },
      +        "confidence": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "evidence": {
      +          "$ref": "#/$defs/value10"
      +        },
      +        "fitLabel": {
      +          "type": "string"
      +        },
      +        "idealProfileName": {
      +          "type": "string"
      +        },
      +        "matchedAttributes": {
      +          "$ref": "#/$defs/value7"
      +        },
      +        "missingAttributes": {
      +          "$ref": "#/$defs/value8"
      +        },
      +        "negativeSignals": {
      +          "$ref": "#/$defs/value9"
      +        },
      +        "newRank": {
      +          "type": "integer"
      +        },
      +        "originalRank": {
      +          "type": "integer"
      +        },
      +        "recommendedNextAction": {
      +          "type": "string"
      +        },
      +        "signals": {
      +          "$ref": "#/$defs/value3"
      +        },
      +        "similarityScore": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "candidateCompanyName",
      +        "fitLabel",
      +        "newRank",
      +        "signals",
      +        "similarityScore"
      +      ],
      +      "type": "object"
      +    },
      +    "value20": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "command": {
      +          "type": "string"
      +        },
      +        "cost": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "rationale": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "command",
      +        "cost",
      +        "label",
      +        "rationale"
      +      ],
      +      "type": "object"
      +    },
      +    "value21": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": "number"
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value22": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value23"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value23": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    "value24": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value3": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value4"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value4": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "dimension": {
      +          "type": "string"
      +        },
      +        "matched": {
      +          "$ref": "#/$defs/value5"
      +        },
      +        "missing": {
      +          "$ref": "#/$defs/value6"
      +        },
      +        "score": {
      +          "type": "number"
      +        },
      +        "weight": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "dimension",
      +        "score",
      +        "weight"
      +      ],
      +      "type": "object"
      +    },
      +    "value5": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value6": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value7": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value8": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value9": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "_debug": {
      +      "$ref": "#/$defs/value24"
      +    },
      +    "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": {
      +                "$ref": "#/$defs/value0"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "context",
      +        "has_more",
      +        "items"
      +      ],
      +      "type": "object"
      +    },
      +    "nextActions": {
      +      "$ref": "#/$defs/value19"
      +    },
      +    "stats": {
      +      "$ref": "#/$defs/value21"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "$ref": "#/$defs/value22"
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "nextActions",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
  5. 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 readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false. The description adds that scores are explained, which is useful output context, but does not disclose permissions, rate limits, or other operational behavior beyond the annotations.

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?

A single front-loaded sentence with no wasted words. It states the action, resource, criterion, and output enrichment in clean order.

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 3-parameter, read-only ranking tool with rich annotations and a full output schema, the description covers the core operation adequately. It does not need to explain return values because an output schema exists, though it could say more about choosing between a saved profile name and inline references.

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 name, references, and collectionId. The description mentions the collection and saved profile concepts, but adds no syntax, format, or selection guidance beyond what the schema provides; baseline 3 is appropriate.

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 verb (Ranks), resource (companies in a collection), and criterion (fit against a saved ideal customer profile), with an extra output detail (explained scores). It is clear on its own, but does not explicitly distinguish itself from close siblings such as exim__profile-match__score or exim__profile-match__search.

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

Usage Guidelines2/5

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

The description explains what the tool does but gives no when-to-use guidance, prerequisites, or named alternatives. It implies ranking is the purpose, but offers no conditions that would select it over profile-match__score, profile-match__search, or profile-match__analyze.

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.