Skip to main content
Glama

substack_close

Close the Substack browser session after completing tasks so credits stop running.

Instructions

Close the Substack 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": "substack_close"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does disclose a non-obvious consequence: credits stop running, which frames this as a cost-control action rather than just cleanup. It leaves open whether the call is idempotent or what happens to an already-closed session, which is a minor residual gap for a zero-parameter teardown tool.

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?

A single sentence that front-loads the action and appends the reason for it. Every clause earns its place: the verb, the resource, the timing condition, and the payoff.

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 parameterless session-termination tool with no output schema, the definition covers what it does, when to call it, and why. The only thing an agent might still want -- behavior on a stale or nonexistent session -- is a small gap, not a blocking one.

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, so there is no schema surface to supplement and the baseline is 4. Nothing in the description misdescribes an input, and none is needed.

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?

States a concrete verb and resource: closing the Substack browser session. It is trivially distinguishable from siblings like substack_open, substack_click, and substack_read, which all operate on an active session rather than ending it.

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?

Gives explicit timing guidance -- "when the work is done" -- which is exactly the trigger an agent needs to sequence teardown after other Substack calls. It does not discuss edge cases such as calling it when no session is open, so it stops short of a full when/when-not treatment.

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