Skip to main content
Glama

Get collection details

exim__collection__get
Read-onlyIdempotent

Returns a collection's metadata: name, totals, priority counts and status. Use collection items list for the company rows.

Input Schema

NameRequiredDescriptionDefault
collectionIdYesCollection name or id

Output Schema

NameRequiredDescriptionDefault
dataYes
statsNo
_debugNo
summaryYes
warningsNo
nextActionsYes
correlationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / --collectionId
      Removed value: -{
      -  "description": "Collection name or id",
      -  "type": "string"
      -}
    • addedInput schema / properties / collectionId
      Added value: +{
      +  "description": "Collection name or id",
      +  "maxLength": 8000,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "--collectionId"
      -]New value: +[
      +  "collectionId"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "value0": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "_id": {
      +          "type": "string"
      +        },
      +        "active": {
      +          "type": "integer"
      +        },
      +        "businessType": {
      +          "type": "string"
      +        },
      +        "conversionRate": {
      +          "anyOf": [
      +            {
      +              "type": "number"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "countsUnavailable": {
      +          "type": "boolean"
      +        },
      +        "criteria": {
      +          "type": "string"
      +        },
      +        "customColumns": {
      +          "$ref": "#/$defs/value2"
      +        },
      +        "deepSearch": {
      +          "type": "boolean"
      +        },
      +        "deletedAt": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "emailTemplateId": {
      +          "type": "string"
      +        },
      +        "emailsSent": {
      +          "type": "integer"
      +        },
      +        "enrichmentStatus": {
      +          "$ref": "#/$defs/value1"
      +        },
      +        "industry": {
      +          "type": "string"
      +        },
      +        "link": {
      +          "type": "string"
      +        },
      +        "modifiedAt": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "query": {
      +          "type": "string"
      +        },
      +        "runs": {
      +          "$ref": "#/$defs/value4"
      +        },
      +        "searchRunId": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "subIndustry": {
      +          "type": "string"
      +        },
      +        "targetCountry": {
      +          "type": "string"
      +        },
      +        "toReview": {
      +          "type": "integer"
      +        },
      +        "totalCompanies": {
      +          "type": "integer"
      +        },
      +        "turnCollection": {
      +          "type": "boolean"
      +        },
      +        "updatedAt": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "userId": {
      +          "type": "string"
      +        },
      +        "version": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "_id",
      +        "active",
      +        "businessType",
      +        "customColumns",
      +        "deletedAt",
      +        "description",
      +        "emailsSent",
      +        "industry",
      +        "modifiedAt",
      +        "name",
      +        "runs",
      +        "status",
      +        "targetCountry",
      +        "toReview",
      +        "totalCompanies",
      +        "updatedAt",
      +        "userId",
      +        "version"
      +      ],
      +      "type": "object"
      +    },
      +    "value1": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value10": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value11"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value11": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    "value12": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value2": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value3"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value3": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "outputType": {
      +          "type": "string"
      +        },
      +        "prompt": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "label",
      +        "outputType",
      +        "prompt"
      +      ],
      +      "type": "object"
      +    },
      +    "value4": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value5"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value5": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "checked": {
      +          "type": "integer"
      +        },
      +        "delivered": {
      +          "type": "integer"
      +        },
      +        "finishedAt": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "found": {
      +          "type": "integer"
      +        },
      +        "rankingIncomplete": {
      +          "type": "boolean"
      +        },
      +        "reasonCode": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "runId": {
      +          "type": "string"
      +        },
      +        "startedAt": {
      +          "anyOf": [
      +            {
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "totalCompanies": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "checked",
      +        "delivered",
      +        "finishedAt",
      +        "found",
      +        "rankingIncomplete",
      +        "runId",
      +        "startedAt",
      +        "status",
      +        "totalCompanies"
      +      ],
      +      "type": "object"
      +    },
      +    "value6": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": [
      +              "null",
      +              "boolean",
      +              "number",
      +              "string",
      +              "array",
      +              "object"
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value7": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/value8"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "value8": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "command": {
      +          "type": "string"
      +        },
      +        "cost": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "rationale": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "command",
      +        "cost",
      +        "label",
      +        "rationale"
      +      ],
      +      "type": "object"
      +    },
      +    "value9": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "type": "number"
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "_debug": {
      +      "$ref": "#/$defs/value12"
      +    },
      +    "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/value7"
      +    },
      +    "stats": {
      +      "$ref": "#/$defs/value9"
      +    },
      +    "summary": {
      +      "type": "string"
      +    },
      +    "warnings": {
      +      "$ref": "#/$defs/value10"
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "nextActions",
      +    "summary"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, covering the safety profile. The description adds the contents of the returned metadata, but with an output schema present that is largely redundant and it says nothing about auth or scope limits. With annotations doing the heavy lifting, a 3 is appropriate.

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, zero filler, with the purpose stated first and the routing alternative second. Every clause earns its place.

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 simple read-only get with full annotation coverage and an output schema, the description supplies what an agent needs to select and call it. Nothing critical is missing, though it does not address pagination or edge cases.

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% and the single parameter is documented in the schema as 'Collection name or id'. The description adds no syntax, format or naming guidance beyond what the schema already provides, so baseline 3 applies.

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 (returns) and resource (a collection's metadata) and enumerates the fields returned: name, totals, priority counts and status. It also routes the agent away from using this tool for company rows. It stops short of a full sibling differentiation (e.g., vs collection__list or collection__analyze), so 4 rather than 5.

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

Usage Guidelines4/5

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

Explicitly names an alternative ('Use collection items list for the company rows') with the condition that selects it, which is genuine when-to-use guidance. No explicit when-not or prerequisites beyond that single routing hint, so it does not reach the 5 bar.

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.