Skip to main content
Glama

Market Brew

Get crawl activity metrics

get_crawl_metrics
Read-onlyIdempotent

Use this when assessing aggregate crawl activity across authorized accounts and websites. Optional customer, Crew, website, host and date filters narrow scope. Returns metrics without enqueueing, retrying or cancelling crawls.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_crawl_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoOptional filters: customerId, crewIds (comma-separated numeric Crew IDs), websiteId, serverHost, startDate, and endDate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / query / properties / customerId / anyOf
      Previous value: -[
      -  {
      -    "exclusiveMinimum": 0,
      -    "maximum": 9007199254740991,
      -    "minimum": -9007199254740991,
      -    "type": "integer"
      -  },
      -  {
      -    "pattern": "^[1-9][0-9]{0,17}$",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "pattern": "^[1-9][0-9]{0,17}$",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / query / properties / endDate / $ref
      Removed value: -"#/properties/query/properties/startDate"
    • addedInput schema / properties / query / properties / endDate / format
      Added value: +"date"
    • addedInput schema / properties / query / properties / endDate / pattern
      Added value: +"^(?:(?:\\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])))$"
    • addedInput schema / properties / query / properties / endDate / type
      Added value: +"string"
    • addedInput schema / properties / query / properties / startDate / pattern
      Added value: +"^(?:(?:\\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])))$"
    • removedInput schema / properties / query / properties / websiteId / $ref
      Removed value: -"#/properties/query/properties/customerId"
    • addedInput schema / properties / query / properties / websiteId / anyOf
      Added value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  {
      +    "pattern": "^[1-9][0-9]{0,17}$",
      +    "type": "string"
      +  }
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / query / additionalProperties
      Previous value: -{
      -  "type": [
      -    "string",
      -    "number",
      -    "boolean",
      -    "null"
      -  ]
      -}New value: +false
    • addedInput schema / properties / query / properties
      Added value: +{
      +  "crewIds": {
      +    "maxLength": 2048,
      +    "pattern": "^[1-9][0-9]*(,[1-9][0-9]*)*$",
      +    "type": "string"
      +  },
      +  "customerId": {
      +    "anyOf": [
      +      {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      {
      +        "pattern": "^[1-9][0-9]{0,17}$",
      +        "type": "string"
      +      }
      +    ]
      +  },
      +  "endDate": {
      +    "$ref": "#/properties/query/properties/startDate"
      +  },
      +  "serverHost": {
      +    "maxLength": 253,
      +    "type": "string"
      +  },
      +  "startDate": {
      +    "format": "date",
      +    "type": "string"
      +  },
      +  "websiteId": {
      +    "$ref": "#/properties/query/properties/customerId"
      +  }
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds useful confirmation that the call does not enqueue, retry or cancel crawls, plus a hint about authorization scoping ('authorized accounts and websites'). It says nothing about aggregation granularity, time-zone handling for dates, or result volume.

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?

Two sentences with the usage trigger front-loaded, and no filler. The only mild redundancy is restating filters the schema already describes, though it aids scanning without bloating the text.

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?

The tool takes a single optional nested filter object with full schema coverage and rich annotations, so structural burden is low. However, with no output schema, the description never says what the returned metrics actually contain (which crawl dimensions or counters), leaving an agent guessing about the response payload.

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 nested query object's description already enumerates customerId, crewIds, websiteId, serverHost, startDate and endDate. The description's parallel sentence adds no new meaning (no defaults, no ID-vs-name distinction, no date-range semantics). 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 resource (aggregate crawl activity metrics) and the scoping filters it accepts, which is enough to tell it apart from sibling metric tools like get_search_metrics or get_task_metrics by domain. It stops short of naming any sibling explicitly, so differentiation rests on the noun 'crawl'.

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?

Opens with an explicit trigger ('Use this when assessing aggregate crawl activity across authorized accounts and websites') and the closing clause implicitly excludes control actions (enqueueing, retrying, cancelling crawls). No alternatives are named, so an agent must infer which sibling metric tool to pick, but the intended context is clear.

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.

Resources