Skip to main content
Glama
Local Social Research MCP

Local Social Research MCP

by PhoengZ

export_results

Save terminal search or comment job evidence as UTF-8 JSON/CSV files in the configured local output directory without overwriting existing files, and return the local file path.

Instructions

Write UTF-8 JSON/CSV evidence from a terminal search/comments job to the configured local output directory. Never overwrites files. Returns a local path, not an uploaded download.

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>",
      "format": "<format>"
    },
    "name": "export_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYes
job_idYes
filenameNo

Output Schema

NameRequiredDescriptionDefault
pathYes
formatYes
job_idYes
export_idYes
row_countYes
limitationsYes

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?

Annotations already cover the safety profile (readOnlyHint=false, openWorldHint=false, destructiveHint=false). The description adds genuinely new behavior: output goes to a configured local directory, existing files are never overwritten (consistent with idempotentHint=false), and the return is a local path rather than an uploaded download. It does not explain what happens on a filename collision, which is the main unresolved behavior.

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 with zero filler; the core action is front-loaded and each remaining sentence carries a distinct constraint (no overwrite, return format).

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 low-complexity, flat-schema tool with an output schema present, the definition supplies what the structured fields do not: destination, overwrite policy, and return-value nature. The only real gap is filename behavior when a file already exists.

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 0%, so the description must carry parameter meaning. It clarifies format as UTF-8 JSON/CSV and indirectly constrains job_id to a terminal search/comments job, but says nothing about the optional 'filename' parameter (whether it is auto-generated, extension handling, or collision behavior), leaving one of three parameters undocumented.

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 ('Write') plus the resource ('UTF-8 JSON/CSV evidence') and the source object ('terminal search/comments job'), which is enough for an agent to distinguish it from read/get tools like get_job or read_comments. It stops short of naming a sibling explicitly, so it does not reach the top of the scale, but the purpose is unambiguous.

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?

The phrase 'from a terminal search/comments job' implicitly tells the agent the job must already be finished before exporting, which is real context, but there is no explicit when-to-use/when-not statement and no mention of what to do instead if the job is still running.

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