Skip to main content
Glama

plugin_logs

Read a plugin's bounded recent backend logs by ID to diagnose issues, with secrets excluded from the output.

Instructions

Read the bounded recent backend log for a plugin. Secrets are never included by Scribe.

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": {
      "id": "<id>"
    },
    "name": "plugin_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPlugin id from plugin_list, or the id being authored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 two useful behavioral traits: the log is 'bounded' (limited in size or retention) and secrets are never included, which is a meaningful privacy guarantee. It omits the retention window, ordering, and whether reads are rate-limited or cached, so the disclosure is partial.

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 short sentences, no filler, with the core purpose front-loaded and the secrets guarantee immediately after. Every sentence earns its place.

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

Completeness3/5

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

For a simple one-parameter read tool with no output schema, the definition covers enough to invoke it, but it leaves the return shape vague: what 'backend log' entries look like, how 'bounded' limits results, and whether ordering or pagination applies are unstated. An agent can call it but cannot predict what it will get 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?

The single 'id' parameter is fully documented in the schema, including its format pattern and the guidance to source it from plugin_list or from the plugin being authored. The description adds nothing beyond that, which matches the baseline of 3 when schema coverage is 100%.

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 (Read) and a specific resource (bounded recent backend log for a plugin), which is enough for an agent to tell it apart from plugin_read, plugin_state, or plugin_guide. It stops short of naming any sibling explicitly, so it does not reach 5.

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

Usage Guidelines2/5

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

The description says what the tool returns but gives no when-to-use guidance, no exclusions, and no pointer to alternatives such as plugin_state or plugin_read for different diagnostic needs. The agent must infer that this is a debugging aid from the word 'log' alone.

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