Skip to main content
Glama

filter_by_status

Filter HTTP traffic by status code to identify abnormal requests like 403 or 500. Returns a simplified view of recent entries, with a configurable limit up to 50.

Instructions

按 HTTP 状态码过滤,返回精简视图。

适合排查异常请求,例如 403(鉴权失败)、500(服务错误)。 limit 默认 15,上限 50,返回最近 N 条。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
status_codeYes
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the tool returns a 'simplified view' and specifies default and maximum limit values. However, it does not mention whether the operation is read-only, any side effects, or the exact nature of the simplified view. The behavioral disclosure is adequate but not exhaustive.

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?

The description is three sentences with no redundancy. The first sentence articulates the core function, the second provides use-case context, and the third specifies parameter behavior. Every sentence serves a purpose, and the structure is front-loaded and efficient.

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?

Given the tool's simplicity (2 parameters, required 'status_code', and an output schema), the description covers the main points: purpose, usage scenario, and parameter details. It does not explicitly note that 'status_code' is required (though the schema does), nor does it describe the output format (but the output schema exists). Overall, it is sufficiently complete for a straightforward filter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, meaning the JSON schema provides no explanations for parameters. The description compensates fully by explaining the 'status_code' parameter with practical examples (403, 500) and detailing the 'limit' parameter's default (15) and maximum (50). This adds essential meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: filtering by HTTP status code and returning a simplified view. It also provides concrete examples (403, 500), making the purpose unambiguous. Among sibling tools that filter by other attributes, this tool is distinctively about status codes, so differentiation is clear.

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?

The description offers usage context ('suitable for troubleshooting abnormal requests') and examples, but it does not explicitly state when not to use this tool or mention alternative sibling tools. The agent is left to infer that for host or keyword filtering, other tools should be used. No exclusionary guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tianhetonghua/Charles-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server