Skip to main content
Glama

lakeformation__DeleteAgency

Deletes a LakeFormation agency for a specified project and agency type, removing task or system trust permissions when access delegation is no longer needed.

Instructions

[LAKEFORMATION] 删除委托

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": {
      "agency_type": "<agency_type>",
      "project_id": "<project_id>"
    },
    "name": "lakeformation__DeleteAgency"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。
agency_typeYes委托类型,JOB_TRUST-任务委托,ADMIN_TRUST-系统委托

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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, yet it discloses nothing about permanence, prerequisites, or side effects of a delete on a trust agency. For a destructive mutation with zero annotation coverage, a bare translation is a significant gap.

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

Conciseness3/5

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

It is short and front-loaded with the service tag and action, with no wasted words. But the brevity comes from under-specification rather than disciplined editing, so it is concise without being informative.

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

Completeness2/5

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

Given a two-parameter destructive operation with no annotations and no output schema, the definition should at minimum state that the named agency is removed and whether the action is reversible. Neither is present, leaving the agent unable to judge consequences before calling it.

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 100%: project_id documents its 32-char pattern plus a retrieval reference, and agency_type enumerates JOB_TRUST/ADMIN_TRUST with meanings. The description adds nothing on top of that, so the baseline 3 applies.

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

Purpose3/5

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

The description gives a service tag plus a verb+resource ("[LAKEFORMATION] 删除委托" = delete agency), so the basic action is identifiable. However, it is a bare label with no scope or qualifiers, and it does nothing to distinguish it from close siblings such as lakeformation__CreateAgency/ShowAgency or iam__DeleteAgency beyond the bracketed service prefix.

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?

No when-to-use, when-not-to-use, or alternative routing is provided. An agent must infer entirely from the name that this is the inverse of CreateAgency and that a different service's DeleteAgency is not the right call.

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