Skip to main content
Glama

log_get

Obtiene una bitácora y sus líneas más recientes (por defecto 30), en orden cronológico. Para leer más atrás pasa before = number de la línea más antigua recibida.

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

Input Schema

NameRequiredDescriptionDefault
idYesID de la bitácora
limitNo
beforeNoDevuelve líneas con number menor que este

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose non-obvious behavior: default page size of 30, chronological ordering, and cursor-style backward paging via before. It omits whether a hasMore/total indicator exists and any auth or error behavior, which a mutation-free read tool should arguably mention.

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 sentences, purpose first then the paging tip, with no filler or repetition of schema fields. Every clause carries information an agent needs to call it correctly.

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 must convey the return shape, and it does at a high level (a log plus its lines, ordered, default 30). What a line contains and how to detect the end of history remain unstated, a minor gap for a three-parameter read tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 67%, so compensation is required, and the description supplies it: the default value of 30 for limit (absent from the schema) and the exact meaning of how to derive before from the oldest received line. The integer id is covered by the schema and adds no extra meaning here.

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: fetches a log plus its most recent lines, default 30, in chronological order. That is enough to distinguish it from log_append or log_create, though it never names a sibling explicitly and leaves the read/return scope 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 concrete operational guidance for paging backwards (pass before = number of the oldest line received), which is the main usage decision an agent faces here. It stops short of stating when-not to use it or which sibling to pick instead, so it lands at clear-context-without-exclusions rather than full routing guidance.

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