Skip to main content
Glama

stop_service

Stops an open service capture, parses the pcap, generates a report, and saves a summary with traffic counts, focus endpoints, and the report path for review.

Instructions

Stop the open service record, parse the pcap, generate a report and save a summary.

This call can take 10-20 seconds because it waits for the capture file to rotate. Report the returned counts, focus endpoints and report path to the user, then wait for the next service.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stop_service"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish this is a non-read-only, non-idempotent, open-world write operation, and the description adds genuinely useful context beyond them: a 10-20 second blocking duration caused by waiting for capture file rotation, plus the artifacts produced (report file, saved summary, counts, endpoints). It does not mention failure modes if no service is open, but the latency and blocking behavior are the key operational details.

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?

Front-loaded with the action and its effects, then the operational caveat, then the follow-up instruction. Every sentence carries information, though the trailing 'Report the returned counts... to the user' is agent-directed guidance rather than tool semantics and could be trimmed.

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?

For a zero-parameter, single-purpose teardown tool with an output schema covering return values, this is nearly complete: it conveys duration, blocking nature, and produced artifacts. The main omission is what happens when no service is currently open.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline applies. The description correctly avoids inventing input arguments.

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 names a specific verb and resource ('Stop the open service record') and enumerates the consequential side effects (parse the pcap, generate a report, save a summary), which clearly separates it from read-only siblings like get_service_summary or get_status. It stops short of explicitly contrasting itself with siblings such as analyze_service or parse_capture, which also touch the capture data.

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 through the lifecycle cue 'then wait for the next service,' which signals this closes out an active capture session. There is no explicit statement of prerequisites, when not to call it, or which sibling to use if no service is running.

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