Skip to main content
Glama
DynamoDB MCP Server

DynamoDB MCP Server

tag_resource

Adds tags to a DynamoDB resource by specifying its Amazon Resource Name (ARN) and the tags to assign.

Instructions

Adds tags to a DynamoDB resource.

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": {
      "resource_arn": "<resource_arn>",
      "tags": "<tags>"
    },
    "name": "tag_resource"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsYesTags to be assigned.
region_nameNoThe aws region to run the tool
resource_arnYesThe Amazon Resource Name (ARN) of the DynamoDB resource

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.8

TDQS

C2.9/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 for a mutation tool. It does not state whether existing tags with the same key are overwritten, whether the operation is idempotent, what the response contains, or what failure modes exist (invalid ARN, missing permissions). "Adds" implies additive semantics without clarifying merge vs replace behavior.

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?

A single short sentence with zero filler, front-loaded with the verb and resource. It is efficient, though the brevity borders on under-specification for a mutation tool rather than being genuinely tight.

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?

For a write operation with no annotations and no output schema, one sentence is not enough: overwrite behavior, permission requirements, and expected outcome are all absent. The schema covers inputs well, but the agent gets no help on side effects or results.

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%, so resource_arn, tags, and region_name are already documented in the schema, including the Key/Value shape of each tag. The description adds no meaning beyond that, which is acceptable given the schema does the heavy lifting, but nothing extra is contributed.

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 ("Adds") with a specific resource ("tags to a DynamoDB resource"), so the agent knows exactly what the tool does. However, it does not differentiate from siblings such as untag_resource or list_tags_of_resource, which share the same tag/resource vocabulary.

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 mention of prerequisites (e.g., required IAM permissions on the ARN), and no pointer to the alternative tools for removing or listing tags. The agent must infer everything about tool selection from the name alone.

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