Skip to main content
Glama
nabhat

sfcc-logs-mcp

by nabhat

get_latest_error

Retrieve error logs from the active appserver's current log file, with optional date and line limit.

Instructions

Retrieve the latest Error logs from the active appserver.Tails the newest error log file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoTarget date string(e.g. "YYYYMMDD" or "today"). Defaults to "today".today
limitNoThe maximum trailing lines to retrieve. Defaults to 10.
Behavior3/5

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

With no annotations provided, the description must disclose all behavioral traits. It indicates the tool is a read-only operation that tails a log file, but it does not mention whether it is non-destructive, what the 'active appserver' is, or any potential rate limits or performance impacts. It is adequate but lacks depth.

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?

The description consists of two concise sentences with no redundancy. It is efficient, though it could be slightly more structured or front-loaded with the main action.

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?

Given the tool's simplicity (two optional parameters, no output schema, no nested objects), the description provides minimal but adequate context. However, it does not explain the return format or clarify what 'active appserver' means, leaving some ambiguity.

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 parameter descriptions in the schema already provide defaults and format hints. The tool description adds no additional meaning beyond what the schema offers.

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 description clearly states the verb 'Retrieve' and the resource 'latest Error logs from the active appserver', and adds 'tails the newest error log file' to specify the operation. However, it does not explicitly distinguish from sibling tools like get_latest_warn or get_latest_info, though the name provides some differentiation.

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

Usage Guidelines2/5

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

The description offers no guidance on when to use this tool versus alternatives such as search_logs or get_latest_debug. No exclusions or context are 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/nabhat/sfcc-logs-mcp'

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