Skip to main content
Glama

ShipRely Security Knowledge

Explain an error message

explain_error_message
Read-onlyIdempotent

Match a Postgres, Supabase, auth, CORS or Stripe error message (e.g. 'new row violates row-level security policy for table') to ShipRely's page that explains its causes and the safe fix. Paste the error text only, never keys or tokens.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "message": "<message>"
    },
    "name": "explain_error_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoAnswer language: en (English) or de (German).en
messageYesThe error text as shown in the console, logs or toast. Remove keys and tokens first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/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 adds context beyond them: the tool maps input to a curated explanation page ('causes and the safe fix') and carries an explicit secrets-handling caveat about redacting keys and tokens before pasting. It does not say what happens when no page matches, which is the main remaining behavioral gap.

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: the first front-loads the match action, supported error families, and the outcome; the second carries the input-safety rule. Nothing is redundant with the title or the schema.

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 two-parameter, read-only lookup with full schema coverage and clear annotations, the description covers the inputs and the shape of the result (a ShipRely explanation page). A brief note on no-match behavior would close the last gap, but nothing essential for correct invocation is missing.

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 coverage is 100%, so both the message text and the en/de lang enum are already documented in structured fields. The description reinforces the message parameter with an example and a redaction instruction, but adds no syntax or format meaning beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

Specific verb ('Match') plus resource ('a Postgres, Supabase, auth, CORS or Stripe error message') and a stated outcome ('ShipRely's page that explains its causes and the safe fix'). It even gives a concrete example error string, so an agent knows exactly what class of input belongs here. It does not explicitly distinguish itself from siblings like get_security_article or search_security_knowledge, which keeps it from a 5.

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 implied rather than stated: the agent should call this when it holds an error message needing explanation. The 'Paste the error text only, never keys or tokens' line is a useful input constraint, but there is no explicit when-not guidance or named alternative for adjacent needs (e.g. browsing articles via get_security_article).

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