Skip to main content
Glama

Read logs for a member process

member_logs_get
Read-onlyIdempotent

Retrieve timestamped process logs for a specific cluster member to diagnose runtime issues; use line limits instead of pagination, and get member names from cluster_members_list.

Instructions

Read logs for a member process

Returns member and timestamped lines containing process and message, bounded by lines rather than paginated. Obtain member names from cluster_members_list; cursor and since are currently not applied, and unsupported logging returns 409.

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": {
      "cluster": "<cluster>",
      "member": "<member>"
    },
    "name": "member_logs_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNoMaximum number of log lines requested, an integer from 1 to 10000; defaults to 100.
sinceNoOptional date-time string in RFC 3339 format; currently ignored by this endpoint and does not filter returned lines.
cursorNoReserved continuation string; currently ignored by this endpoint, which does not return nextCursor.
memberYesMember-name string of 1–128 characters from cluster_members_list for the selected cluster.
clusterYesManaged cluster name; the RBAC object is namespace/cluster.
processNoProcess name from the engine catalog returned by providers_list, or agent for runtime logs; defaults to the first engine process, or agent if none.
namespaceNoNamespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter.

Output Schema

NameRequiredDescriptionDefault
linesYes
memberYes
nextCursorNo
operationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • removedInput schema / $defs / NamespaceName
      Removed value: -{
      -  "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      -  "maxLength": 32,
      -  "minLength": 2,
      -  "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      -  "type": "string"
      -}
    • addedInput schema / $defs / NamespaceName_depth16
      Added value: +{
      +  "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      +  "maxLength": 32,
      +  "minLength": 2,
      +  "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      +  "type": "string"
      +}
    • addedInput schema / properties / cluster / description
      Added value: +"Managed cluster name; the RBAC object is namespace/cluster."
    • addedInput schema / properties / cursor / description
      Added value: +"Reserved continuation string; currently ignored by this endpoint, which does not return nextCursor."
    • addedInput schema / properties / lines / description
      Added value: +"Maximum number of log lines requested, an integer from 1 to 10000; defaults to 100."
    • addedInput schema / properties / member / description
      Added value: +"Member-name string of 1–128 characters from cluster_members_list for the selected cluster."
    • changedInput schema / properties / namespace / $ref
      Previous value: -"#/$defs/NamespaceName"New value: +"#/$defs/NamespaceName_depth16"
    • addedInput schema / properties / namespace / description
      Added value: +"Namespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter."
    • changedInput schema / properties / process / description
      Previous value: -"Must be one of the cluster provider catalog's processes, or agent."New value: +"Process name from the engine catalog returned by providers_list, or agent for runtime logs; defaults to the first engine process, or agent if none."
    • addedInput schema / properties / since / description
      Added value: +"Optional date-time string in RFC 3339 format; currently ignored by this endpoint and does not filter returned lines."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "LogLine_depth15": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "message": {
      +          "type": "string"
      +        },
      +        "process": {
      +          "type": "string"
      +        },
      +        "timestamp": {
      +          "format": "date-time",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "timestamp",
      +        "process",
      +        "message"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "lines": {
      +      "items": {
      +        "$ref": "#/$defs/LogLine_depth15"
      +      },
      +      "type": "array"
      +    },
      +    "member": {
      +      "maxLength": 128,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "nextCursor": {
      +      "type": "string"
      +    },
      +    "operationId": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "member",
      +    "lines"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.4.3

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description's value lies in the operational caveats it adds: results are bounded by line count rather than paginated, no nextCursor is issued, cursor/since are accepted but ignored, and unsupported logging surfaces as 409. These are meaningful behaviors an agent would otherwise discover only by trial. It does not mention authorization requirements or truncation consequences, keeping it below 5.

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?

The definition is short and front-loaded: purpose first, then the return shape, then the operating constraints and error code. The opening phrase duplicates the tool title, which is mild waste. Otherwise every remaining sentence carries a distinct signal with no filler.

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 7-parameter, fully described schema with an output schema present, the description supplies the pieces the structured data cannot: where to source the member name, that pagination does not exist, and that unsupported logging yields 409. Nothing essential for a correct first call appears missing, though permission/RBAC considerations for log access go unmentioned.

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 every parameter, including the ignored cursor and since fields, is already documented in the schema. The description's notes about cursor and since largely restate the schema text ('currently ignored by this endpoint'), adding confirmation rather than new meaning. The one genuinely additive point is that output is bounded by lines instead of paginated, which explains why nextCursor is absent.

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?

The description names a specific verb and resource ('Read logs for a member process') and the second sentence clarifies the returned payload (member plus timestamped process/message lines). It is clearly distinguishable from the sibling *_get tools, which fetch object configuration rather than log streams. It stops short of a full 5 because the scope boundaries (which member, which process) are only implied through the parameter-guidance sentence.

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?

It tells the agent where member names must come from ('Obtain member names from cluster_members_list'), which is the key prerequisite for calling it, and steering the log-fetch behavior to be line-bounded. It also flags that cursor and since are not applied, which prevents wasted retry logic. No explicit exclusions or alternate tools are stated, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools