Skip to main content
Glama

vpn__ShowVpnConnectionLog

Retrieve the log for a specified VPN connection using its connection ID and project ID.

Instructions

[VPN] 根据连接ID,查询指定的VPN连接日志

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": {
      "project_id": "<project_id>",
      "vpn_connection_id": "<vpn_connection_id>"
    },
    "name": "vpn__ShowVpnConnectionLog"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id
vpn_connection_idYesvpn连接ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing behavioral. It does not indicate whether logs are paginated or time-bounded, how large the result set may be, whether a retention window applies, or whether specific permissions are needed. For a log-retrieval tool that can return large volumes, this is a meaningful gap.

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?

A single short sentence that front-loads the lookup key and the resource, with no filler or repetition. The only minor noise is the '[VPN]' namespace tag, which carries little selection value.

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

Completeness2/5

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

With no output schema and no annotations, the description is the only place an agent could learn what the log response looks like, and it does not say. There is no indication of return format, ordering, volume, or time coverage, leaving the agent unable to predict the result of the call.

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 100%, so both project_id and vpn_connection_id are already documented in the schema and the baseline of 3 applies. The description mentions the connection-ID lookup but adds no format, constraint, or relationship detail (e.g., the 32-hex project ID pattern) beyond what the schema already supplies.

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 description states a specific verb (查询/query) and resource (VPN连接日志/VPN connection log), plus the lookup key (connection ID). An agent can tell this retrieves log content rather than connection metadata. It does not, however, contrast itself with nearby siblings such as vpn__ShowVpnConnectionsLogConfig (log configuration) or vpn__ShowConnectionMonitor, which an agent could plausibly confuse it with.

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?

Usage is only implied: the phrase '根据连接ID' suggests this is the tool to call when you already hold a connection ID and want its logs. There is no explicit when-to-use framing, no statement of when to prefer ShowVpnConnectionsLogConfig or ShowConnectionMonitor, and no prerequisites called out.

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