Skip to main content
Glama
OpenSIPS

OpenSIPS MCP Server

Official
by OpenSIPS

docker_logs

Fetch recent logs from a Docker Compose service, specifying service name and number of lines to retrieve.

Instructions

Retrieve recent logs from a Docker Compose service.

Parameters

service: The service name to fetch logs for (default: opensips). lines: Number of recent log lines to return (default: 100).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serviceNoopensips
linesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations provided, so description must carry full burden. It only states 'recent logs' without clarifying behavior like whether logs are continuous, if it requires a running container, or any cost implications. Read-only nature is implied but not explicit.

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?

Description is very concise with two sentences and a clear parameter list. Every sentence is necessary and no extraneous information. Structure is front-loaded with the main purpose.

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 log retrieval tool, the description is adequate but could mention output format or that logs are textual. With output schema present, the burden is reduced, but some context about what 'recent' means is missing.

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 0%, so description compensates slightly by providing defaults and short descriptions for service and lines. However, it lacks explanation of valid values or error handling, which would enhance parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states 'Retrieve recent logs from a Docker Compose service' which is a specific verb+resource. It distinguishes from siblings like docker_status, docker_restart, and others focused on deployment or status.

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?

No guidance on when to use this tool instead of alternatives. There is no mention of prerequisites, context for log retrieval, or comparison with other logging tools among siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OpenSIPS/opensips-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server