Skip to main content
Glama

Scalingo MCP by usefulapi

Get recent app logs

scalingo_get_app_logs
Read-only

Fetch recent application log lines. Scalingo returns an authenticated logs_url (GET /v1/apps/{app}/logs → { logs_url }); this tool then downloads the last N lines from it (dump mode) and returns them as text. Returns { logs_url, lines }. If the follow-up download fails, only logs_url is returned so you can fetch it yourself.

Input Schema

NameRequiredDescriptionDefault
appYesThe app name (e.g. my-production-app) or app id (app-…).
linesNoNumber of recent log lines to fetch (1-1000, default 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses the two-step flow, the dump-mode last-N-lines behavior, the exact return shape { logs_url, lines }, and the partial-failure case where only logs_url comes back. That failure-mode note is genuinely useful context an agent cannot get from annotations; rate limits or log retention are still unstated.

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?

Three sentences, front-loaded with purpose, then mechanism and return shape, then the failure caveat. The inline API route is slightly more detail than an agent needs, but nothing is redundant or bloated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, yet the description specifies the return object and the degraded return case, and the schema fully covers the two inputs. An agent has everything needed to call it and to interpret what comes back.

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 coverage is 100%, so both `app` and `lines` are documented with bounds and defaults in the schema itself. The description only echoes 'last N lines' and adds no format or semantics beyond that, so the baseline of 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: 'Fetch recent application log lines', and explains the internal mechanism (authenticated logs_url then dump-mode download). The resource is distinct from siblings like scalingo_list_app_events or scalingo_get_app_stats, though no sibling is named 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?

Usage is implied (recent log inspection for an app) and the fallback path is described, but there is no explicit statement of when to prefer this over scalingo_list_app_events or scalingo_request, and no exclusions or prerequisites are given.

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.