Skip to main content
Glama

Search errors

runheed_search_errors
Read-only

Searches the workspace's error groups by text (type, message, route, file or extra data), status, project and release (including only the errors a release introduced). Returns each matching group with its status, type, message, route, top stack frame, event count, last-seen time and ID.

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": "runheed_search_errors"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of errors to return
queryNoText to find in the error type, message, route, stack frames or extra data, for example a route or a file name
statusNoFilter by error status
releaseNoOnly errors with an event from this release (the release value the app passes to init, often a commit SHA)
projectIdNoFilter by project id or slug (e.g. shop-api)
newInReleaseNoWith release: only errors that first appeared in that release, to check what a deploy introduced

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / newInRelease
      Added value: +{
      +  "description": "With release: only errors that first appeared in that release, to check what a deploy introduced",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / release
      Added value: +{
      +  "description": "Only errors with an event from this release (the release value the app passes to init, often a commit SHA)",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Search query to filter errors by message or type"New value: +"Text to find in the error type, message, route, stack frames or extra data, for example a route or a file name"
  3. Changed1 schema field changed
    • changedInput schema / properties / projectId / description
      Previous value: -"Filter by project ID"New value: +"Filter by project id or slug (e.g. shop-api)"
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, non-destructive, closed-world, so the description's value here is the extra context it supplies: exactly which error fields are text-searchable and precisely which fields come back per group (status, type, message, route, top frame, event count, last-seen, ID). With no output schema, that return-shape disclosure is substantive. It still omits ordering and whether unfiltered calls return all statuses or only unresolved by default.

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 sentences with no filler, front-loaded with the action and scope, then the return shape. Every clause maps to either a search facet or a returned field, so nothing is wasted despite the enumerated lists.

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 six-parameter search tool with full schema coverage and clear safety annotations, the definition is nearly self-sufficient, and it correctly compensates for the absent output schema by naming the returned fields. The remaining gap is default behavior for the zero-required-parameter case (what status set and order you get with no filters) and pagination.

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 every one of the six parameters is already documented, and the description largely restates them. It does add a small amount of meaning, notably the 'including only the errors a release introduced' framing for newInRelease, but that is already in the schema's own description. Baseline 3 applies when the schema carries the weight.

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 first sentence gives a specific verb+resource+scope: searching the workspace's error groups, with the exact facets searched (type, message, route, file, extra data) and filtered on (status, project, release). It is clearly distinguishable from the single-record sibling runheed_get_error and the list-style siblings by its search semantics, though it never names an alternative outright.

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?

Usage is only implied by the parameter set; there is no explicit 'use this when...' or 'prefer X instead' statement. The one real hint is the parenthetical on release/newInRelease ('to check what a deploy introduced'), which frames a concrete scenario but does not cover the tool's primary use or any exclusions.

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.