Skip to main content
Glama

dlf__UpdateResource

Updates an existing Data Lake Factory resource's metadata, type, OBS location, directory, and dependencies using its project and resource IDs.

Instructions

[DLF] 修改资源

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": {
      "project_id": "<project_id>",
      "resource_id": "<resource_id>"
    },
    "name": "dlf__UpdateResource"
  }
}

Input Schema

NameRequiredDescriptionDefault
descNo
nameNo
typeNo
locationNo资源文件所在OBS路径
directoryNo资源所在目录
project_idYes项目编号.
dependFilesNo
resource_idYes资源id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the entire behavioral burden, yet it discloses nothing: not whether omitted fields are preserved, whether name/type/location changes are destructive, what permissions are required, or what the call returns. For a multi-field mutation tool this is a severe gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The sentence is short but that brevity reflects under-specification rather than efficiency. There is no structure, no front-loaded scope, and no sentence that conveys actionable information beyond the title.

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

Completeness1/5

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

With 8 parameters, no annotations, no output schema, and a mutation that can change type and location, an agent cannot safely invoke this tool from the description alone. Nothing compensates for the missing safety and semantics information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Eight parameters with only 50% schema description coverage (location, directory, project_id, resource_id described; desc, name, type, dependFiles undocumented). The description adds no meaning for any parameter, leaving a quarter of the schema opaque in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "[DLF] 修改资源" only restates the tool name (UpdateResource -> "modify resource") and adds a service tag. It never says which resource attributes can be changed or how this differs from sibling tools such as dlf__CreateResource or dlf__DeleteResource.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites (for example existing resource or project permissions), and no exclusions. An agent must infer entirely from the tool name that this is the update path rather than create, delete, or show.

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

Deploy Server

Other Tools