Skip to main content
Glama

Get Papertrail logs

papertrail_get
Read-onlyIdempotent

Retrieve log entries from the Papertrail API with authenticated GET requests. Use query parameters to filter and paginate results.

Instructions

Make one authenticated GET request to the migrated Papertrail logs API at /v1/logs. This tool is read-only and may truncate large output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesSite-relative logs API path beginning with /v1/logs. It may include the exact query from pageInfo.nextPage.
queryNoOptional query parameters. Array values are encoded as repeated parameters.
environmentNoCredential environment. Use papertrail_list_environments to discover configured values. Defaults to prod.prod
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive behavior, but the description adds valuable context beyond that: it requires authentication, performs a single GET request, and cautions that large output may be truncated. This goes beyond the structured annotations and helps set expectations for API behavior.

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 two sentences, front-loaded with the core action and resource, and each sentence provides essential information without wasted words. Truncation warning and read-only note are succinctly included.

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 simple GET nature of the tool, the description is reasonably complete: it covers the action, endpoint, auth, read-only safety, and truncation risk. The lack of an output schema is partially mitigated by the 'logs' focus, but a brief note about the response format would make it fully complete.

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 clearly explain 'path', 'query', and 'environment' including the note about pageInfo.nextPage. The main tool description adds no additional parameter semantics, so the baseline of 3 applies.

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 action ('Make one authenticated GET request') and the specific resource ('migrated Papertrail logs API at /v1/logs'), making it obvious this tool fetches logs. It also notes that it is read-only, which aligns with the annotations and helps differentiate it from the sibling environment-listing tool.

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 does not explicitly state when to use this tool versus the sibling tool papertrail_list_environments. However, the tool name and resource path imply its purpose, and the environment parameter description mentions using list_environments to discover values, providing limited indirect guidance. Usage is implied but not formally articulated.

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/andreimaxim/papertrail-mcp'

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