Skip to main content
Glama
Local Social Research MCP

Local Social Research MCP

by PhoengZ

delete_job

DestructiveIdempotent

Delete a terminal local job, including its observations and owned export files, while preserving identities referenced by other jobs. Active jobs are refused; repeated deletion is a no-op.

Instructions

Delete a terminal local job, its observations and owned export files. Preserves identities referenced by other jobs. Refuses active jobs; repeat deletion is a no-op.

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": {
      "job_id": "<job_id>"
    },
    "name": "delete_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Output Schema

NameRequiredDescriptionDefault
job_idYes
deletedYes
deleted_exportsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond destructiveHint=true by disclosing what is destroyed in cascade (observations, owned export files), what is deliberately preserved (identities referenced by other jobs), and the guard on active jobs. It does not mention permission requirements or whether the removal is recoverable, which would round out a destructive operation's disclosure.

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?

Three short sentences, front-loaded with the primary effect and cascade, followed by preservation, guard, and idempotency facts. Every sentence carries information an agent needs before calling a destructive tool.

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?

Output schema exists, so return values need not be explained, and the behavioral surface (cascade, guard, idempotency) is covered. The remaining gap is the undocumented job_id parameter and any authorization prerequisites for a destructive operation.

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 coverage is 0% and the single parameter job_id is not described at all in the text — no format, no hint on where to obtain a valid ID, no clarification of what identifies a 'local' job. The schema constrains the string to 1-200 chars but the description adds no meaning beyond it.

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 specific verb (delete) plus a precisely scoped resource (terminal local job) and enumerates the cascade (observations, owned export files). The qualifier 'terminal' and the 'refuses active jobs' clause let an agent distinguish this from cancel_job without opening either 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?

Explicitly states a when-not condition (active jobs are refused) and clarifies repeat invocation is a no-op, which is real decision-relevant guidance. It stops short of naming cancel_job as the alternative for active jobs, leaving that inference to the agent.

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