Skip to main content
Glama

export_data

Export public entity data for products, spaces, scenes, or demands as CSV or XLSX and return the saved file path.

Instructions

导出公开实体数据。entity: products/spaces/scenes/demands。format: csv/xlsx。返回文件路径。

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

Input Schema

NameRequiredDescriptionDefault
entityNoproducts
formatNocsv
output_dirNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose one useful trait — the tool returns a file path rather than data inline — but says nothing about permissions required, whether existing files are overwritten, size/row limits, or what happens if output_dir is empty or invalid, all of which matter for an operation that writes to disk.

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?

Four short clauses, front-loaded with purpose then the two enumerated parameters then the return value; nothing is padded. The telegraphic style borders on under-specification, which is why it is not a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter export tool with no annotations and no output schema, the description covers purpose, two of three parameters, and the return shape (file path). The unexplained output_dir — including what an empty default means and where files land — is a real gap for a tool that writes files.

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?

Schema description coverage is 0% and no parameter has an enum, so the description is the only source of value constraints. It supplies the full allowed value sets for entity (products/spaces/scenes/demands) and format (csv/xlsx), which is meaningful added meaning beyond the bare string properties. It leaves the third parameter, output_dir, completely unexplained, which keeps it from a 5.

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 pairs a specific verb (导出/export) with a specific resource (公开实体数据/public entity data) and enumerates the four exportable entities, so the agent knows exactly what is produced. It does not contrast itself with the many list_*/get_* siblings, which is the only missing piece for a 5.

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: 'export' versus the sibling read tools suggests bulk/file-producing retrieval rather than interactive listing. There is no explicit when-to-use or when-not-to-use statement, and no mention of prerequisites or alternatives.

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