Skip to main content
Glama

host.tool_logs

Return the most recent log lines for one of this tenant's tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesLocal name of the tool whose log lines to return.
limitNoMax lines to return, most recent first; default 20.
tenant_keyNoThe key `signup` returned. Required only when this connection carries no Authorization: Bearer header -- when both are present, the header wins.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Max lines to return, most recent first; default 20."
    • addedInput schema / properties / name / description
      Added value: +"Local name of the tool whose log lines to return."
  2. First observed

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, but it only says it returns recent log lines. It omits whether this is a safe read, ordering guarantees beyond the schema's 'most recent first', behavior when the tool name is unknown or has no logs, and volume/pagination limits. The one fragment of ordering context duplicates what the limit parameter already states.

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?

A single front-loaded sentence with zero filler that places the resource and scope immediately. Nothing redundant or padded.

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?

There is no output schema and no annotations, so the description is the main source of behavioral and return context, yet it does not describe what a log line contains or error/none cases. The 100% schema coverage covers inputs, but the definition is only adequate, not complete, for a diagnostic/read tool.

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 all three parameters (name, limit, tenant_key) are already documented, including the default of 20 and the Authorization-header precedence for tenant_key. The description adds no parameter meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb (Return) and resource (log lines) with clear scope (one of this tenant's tools) and a recency qualifier. An agent can distinguish this from siblings like host.tool_list or host.tool_call. However, it does not explicitly differentiate against the nearest alternatives (e.g., host.runs.list, host.tool_test), so it stops short of 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 only implied: the description suggests it is used when inspecting logs for a named tool, but it never states when to prefer this over host.runs.list or host.tool_test, nor any exclusions. This is minimum viable routing information without explicit when/when-not guidance.

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