Skip to main content
Glama
rentals-ops

rentals-ops

by BDhee

search_logs

Read-only

Search recent rental-service log lines newest first to diagnose incidents, filtering by level, route, time window, or message text for faster root-cause analysis.

Instructions

What exactly did the logs say? Matching log lines, newest first, with their details.

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

Input Schema

NameRequiredDescriptionDefault
levelNoOnly this level. Omit for all.
limitNoMax lines (1-50).
routeNoRoute template, e.g. /properties/{property_id}. Omit for all routes.
minutesNoHow many minutes back to look (1-120).
containsNoText the message must contain.

Output Schema

NameRequiredDescriptionDefault
as_ofYes
linesYes
window_minutesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds two useful behavioral facts beyond that: results are ordered newest first and include per-line details. It does not mention the default 15-minute lookback window or the 50-line cap, which materially shape what comes back.

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 short sentences with no waste, and the ordering information is front-loaded. The opening rhetorical question is stylistic rather than informative, but it costs little.

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?

An output schema exists, so return shape need not be explained, and all five optional parameters are fully documented in the schema with sensible defaults. What remains missing is routing guidance against the error-oriented siblings, which is a moderate rather than severe gap for a straightforward read-only search.

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%, with each of the five parameters carrying its own description including ranges, defaults, and the route template example. The description adds no parameter-level meaning, so the baseline of 3 applies.

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

Purpose3/5

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

The phrase "Matching log lines, newest first, with their details" conveys that this retrieves log lines matching filters, and the ordering is stated explicitly. However, "What exactly did the logs say?" is a rhetorical framing rather than a precise verb+resource statement, and nothing distinguishes this from siblings like error_breakdown or errors_by_version, which plausibly also surface log content.

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?

There is no when-to-use guidance, no exclusions, and no named alternative. An agent cannot infer from this description whether to reach for search_logs versus error_breakdown when investigating errors; only the parameter names hint at free-text searching.

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