Skip to main content
Glama

build_logs

Read-only

Returns recent Cloud Run logs of a project's deployed app: startup-probe timeouts, tracebacks, 'container failed to start on PORT'. Inputs: project_uuid, optional lines, since. Read-only; rate-limited per domain. For an error Supero itself returned (HTTP 401/403/404/409/402/422/429/5xx), error={status, message, error_code, correlation_id} adds error_explained (what it means and what resolves it). Useful for a failed or stalled deploy or a crashing app.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_uuid": "<project_uuid>"
    },
    "name": "build_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
errorNoOptional: a platform error to explain, copied from the response the app or this session got. All fields optional.
linesNoMax log lines to return (default 200).
sinceNoHow many minutes back to fetch (default 60).
project_uuidYesProject UUID (from build_list_projects or build_create_project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / error
      Added value: +{
      +  "description": "Optional: a platform error to explain, copied from the response the app or this session got. All fields optional.",
      +  "properties": {
      +    "correlation_id": {
      +      "description": "The body's correlation_id (Ref), if any.",
      +      "type": "string"
      +    },
      +    "error_code": {
      +      "description": "The body's error_code, e.g. DB_UNAVAILABLE.",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "The error/message text from the body.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "HTTP status code, e.g. 401, 422, 503.",
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / project_uuid / description
      Added value: +"Project UUID (from build_list_projects or build_create_project)."
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so 'Read-only' mostly restates structured data. The genuinely additive part is 'rate-limited per domain' and the note that supplying an error yields an added error_explained field; return format and pagination behavior remain undisclosed beyond that.

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?

Front-loads what is returned before listing inputs, and each clause carries information. The dense middle sentence covering statuses and the error_explained contract packs a lot but stays readable.

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?

With no output schema, the description does the work of describing returned content (failure signatures) and one derived field (error_explained), and it covers every input. Line/volume expectations from lines and since are left entirely to the schema, a minor gap.

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 four parameters are already documented in the schema, setting the baseline at 3. The description adds the enumeration of statuses that qualify for the error object and the error_explained outcome, which is meaning beyond the schema but limited scope.

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 ('Returns recent Cloud Run logs of a project's deployed app') and sharpens it with concrete failure signatures (startup-probe timeouts, tracebacks, PORT errors). It does not name a sibling to contrast with, so the read-vs-status boundary against build_deploy_status is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear triggering condition: 'Useful for a failed or stalled deploy or a crashing app,' and defines exactly when to supply the optional error object (HTTP 4xx/5xx returned by Supero itself). It stops short of naming an alternative tool or stating when not to call it.

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.