Skip to main content
Glama

Agents: logs

manage_agents_logs
Read-onlyIdempotent

The tail of an online agent's own log (secrets are masked by the agent). Reads Junction's own settings for this company, only what this person may see in the Junction portal. Company administrators only. Never pass a password, key or token; anything that needs one is done in the portal.

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": "manage_agents_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesagent id from agents.list

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed world), and the description adds meaningful context beyond them: output covers only what the caller may see in the portal, secrets are masked by the agent, administrative privilege is required, and no credentials may be passed in. It stops short of saying what happens if the agent is offline or how much log tail is returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, but the middle one (reads Junction's own settings for this company, limited to portal visibility) does not belong to a log-tail tool and actively misdirects the reader. The remaining content is useful but the boilerplate line should be removed or replaced with log-specific detail.

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 read-only single-parameter tool whose annotations already carry safety and idempotency, the description covers permissions, masking, and the no-secrets rule. It does not clarify the tail size, the failure mode for an offline agent, or reconcile the stray settings sentence, leaving modest gaps.

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?

There is a single required parameter with 100% schema description coverage, and the schema already says where the id comes from (agents.list). The description adds no further meaning, such as format or how id maps to an online agent, so this sits at the baseline for a fully documented schema.

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 first sentence names a specific resource and scope: the tail of an online agent's own log, with the secrecy handling noted. However, the follow-up sentence shifts to reading Junction's own company settings, which is a different resource and muddies what the tool actually returns, so the purpose is clear but not cleanly isolated.

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?

It gives a real precondition (company administrators only) and a hard usage rule (never pass a password, key or token; do that in the portal). It offers no guidance on when to use this versus reading agent metadata or company-level activity/audit listings, so the when-to-use decision is only implied.

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.

Resources