Skip to main content
Glama

get_logs

Get recent DNS query logs: what was queried, allowed or blocked, and when. Useful for reviewing activity or investigating a block.

Input Schema

NameRequiredDescriptionDefault
limitNoMax entries to return
actionNoFilter by action
profile_idNoFilter to one profile (omit for all)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the shape of returned data (query, allowed/blocked, timestamp) and implies recency ordering via 'recent', which is real value given there is no output schema, but it says nothing about pagination, retention window, or permissions for a list tool that caps results at 100.

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 compact clauses with the resource and returned fields front-loaded and the use case trailing. No filler, no repetition of the name.

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 read-only list tool with no annotations and no output schema, the description covers purpose, returned fields, and a use case. Remaining gaps (ordering guarantee, retention, pagination semantics of limit) are minor but not trivial for a log-inspection 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 (limit, action, profile_id) are already documented in the schema, including the action enum. The description's 'allowed or blocked' phrasing only echoes the enum and adds no filtering syntax or default behavior beyond it; 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 and resource ('Get recent DNS query logs') and enumerates what the entries contain (query, action, timestamp). It reads clearly against siblings, none of which retrieve logs, though it does not name any sibling explicitly.

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?

'Useful for reviewing activity or investigating a block' gives an implied use context, but there is no when-not-to-use guidance and no pointer to analytics_summary for aggregate questions. The agent must infer the boundary between raw log retrieval and the analytics sibling on its own.

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.