Skip to main content
Glama

Write CloudLogs entries

write_cloud_logs

Ingest application or Fluent Bit logs into ArvanCloud CloudLogs by posting batched entries with type, severity, resource, timestamp, and payload for centralized collection.

Instructions

[WRITE] Ingest logs via POST /logging/v1/entries/write (Fluent Bit ArvanCloud CloudLogs plugin). Body: { logs: [{ logType, timestamp?, severity?, resource?, payload }] }. Auth: Apikey header. Not a full CloudLogs management API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.3

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, so the agent knows it is a write operation with external interaction. The description adds the specific auth mechanism ('Apikey header') and the write endpoint, which complements the annotations. It doesn't detail rate limits, response format, or failure behavior, but covers key operational facts.

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 description is compact and front-loads the critical information: write action, endpoint, body format, and auth. However, the body example could be more clearly separated, and the trailing sentence, while useful, is slightly disconnected. Overall, it is appropriately sized.

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?

Given the tool's complexity (a write endpoint with a nested array body) and the lack of an output schema, the description provides sufficient context: endpoint, auth, body structure, and scope limitation. It doesn't cover error handling or rate limits, but those are less critical for correct invocation. The description is nearly complete for the agent's needs.

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 schema description coverage is 0%, so the description must compensate. It provides the expected body structure as a JSON example, showing the 'logs' array with fields like logType, timestamp?, severity?, resource?, payload. This is useful, but it doesn't explain semantic details like allowed logType values beyond the schema example, or the resource type constraints. It partially compensates for the coverage gap.

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?

The description states a specific verb ('Ingest logs'), the exact endpoint (POST /logging/v1/entries/write), and clarifies scope by stating 'Not a full CloudLogs management API.' This clearly distinguishes it from all siblings (mostly list/get/update tools for CDN, VOD, AI, etc.).

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 implies usage via the endpoint and Fluent Bit plugin reference, and the trailing note excludes management operations, giving light guidance on when not to use it. However, it does not name an alternative tool for log querying (e.g., get_caas_pod_logs) or provide explicit when-to-use context.

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