Skip to main content
Glama

kartra_close

Close the active Kartra browser session to stop credit usage once work is complete.

Instructions

Close the Kartra browser session when the work is done, so credits stop running.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description must cover behavior by itself. It does disclose a useful side effect that the annotations would not contain: closing the session stops credit consumption. However, it does not say whether the session is terminated irreversibly, whether unsaved work is lost, or whether other kartra_* calls fail after closing.

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?

It is a single sentence that is front-loaded with the action and followed by the reason for it, with no wasted words. Every clause is meaningful.

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 trivial zero-parameter session-teardown tool with no output schema, the description covers purpose, timing, and the consequence of credits. Only minor points are missing, such as whether the call is mandatory and the state of the session afterward.

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 no parameters at all, so the baseline score is 4, and there is nothing to clarify beyond meaning. The description adds no parameter detail, but none is needed for a zero-argument tool.

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 names a specific verb (Close), a specific resource (the Kartra browser session), and its scope, making it clearly distinct from the sibling tools, such as kartra_open. An agent can tell exactly what this tool does without opening the schema.

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?

The phrase "when the work is done" gives a clear trigger condition for calling the tool, and "so credits stop running" supplies the motivation. However, it gives no explicit rule for when not to call it, and it names no alternative tool.

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