Skip to main content
Glama

lakeformation__CreateAgency

Creates a LakeFormation agency (task or system trust) in a specified project to delegate permissions for jobs and administration.

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__CreateAgency"
  }
}

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

D1.9/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 full behavioral burden, yet it says nothing about required permissions, whether the operation is idempotent, what side effects or resources are created, or what happens on duplicate agency types. For a write/create tool this is a critical 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 single phrase is technically front-loaded but far too short to be useful; brevity here reflects under-specification rather than economy. No sentence conveys actionable information.

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?

For a two-parameter mutation tool with no annotations and no output schema, the description omits the agency concept, permission model, and any indication of what is returned (e.g., an agency ID). An agent cannot call this correctly on the description alone.

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 100%: project_id has a pattern and a link to a retrieval doc, and agency_type has an enum with per-value meanings (JOB_TRUST task trust, ADMIN_TRUST system trust). The description adds nothing beyond the schema, so the baseline of 3 applies.

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?

"创建委托" is a direct restatement of the tool name CreateAgency, with only a product tag prefix added. It does not distinguish this from the numerous sibling agency-creation tools (iam__CreateAgency, cae__CreateAgency, lakeformation__DeleteAgency/ShowAgency) or state what kind of LakeFormation delegation is created.

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, and no mention of alternatives such as ShowAgency or DeleteAgency despite a large sibling set. The only implied context is the LAKEFORMATION tag.

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