Skip to main content
Glama

sign_aws_request

Sign an HTTP request with AWS Signature Version 4 and return the signed Authorization header and x-amz-date for calling AWS APIs directly.

Instructions

Sign an HTTP request with AWS Signature Version 4. Returns the signed Authorization header and x-amz-date. Useful for calling AWS APIs directly.

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": {
      "url": "<url>",
      "access_key_id": "<access_key_id>",
      "secret_access_key": "<secret_access_key>",
      "service": "<service>"
    },
    "name": "sign_aws_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
bodyNo
methodNoGET
regionNous-east-1
serviceYesAWS service name, e.g. 's3', 'execute-api', 'lambda'
access_key_idYes
extra_headersNo
session_tokenNo
secret_access_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6-beta

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the return values (signed Authorization header and x-amz-date), but it never clarifies whether the request is actually transmitted or only signed locally, nor does it note that secret material is passed into the call or that extra_headers must participate in the signature. The most important behavioral ambiguity – sign-only vs. send – remains unresolved.

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?

Three short sentences with the core action front-loaded and the outputs immediately after. Every sentence contributes; only the closing 'Useful for…' sentence is thin relative to the benefit it delivers.

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?

With 9 parameters, 11% schema coverage, no annotations, and no output schema, the description should explain the credential/region/service inputs and how body and extra_headers feed the canonical request. It covers the return values inline (helpful) but leaves the majority of parameters and the sign-vs-send behavior undocumented, which is a substantial gap for this complexity.

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

Parameters2/5

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

Schema description coverage is only 11% (just 'service' has a description), and the description adds no parameter-level meaning for url, body, method, region, extra_headers, or session_token. An agent must guess that session_token is for temporary credentials and that extra_headers affect the signed-headers set. For a 9-parameter tool, the description does almost nothing to compensate for the coverage gap.

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 names a specific verb and resource ('Sign an HTTP request') and pins down the exact algorithm ('AWS Signature Version 4'), which naturally separates it from sibling signing helpers such as compute_digest_auth. It also states the concrete artifacts produced (Authorization header and x-amz-date). It stops short of explicitly contrasting with the sibling signing tool, but the algorithm name makes the distinction unambiguous.

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?

'Useful for calling AWS APIs directly' implies the use case but gives no explicit when-to-use versus when-not guidance, no prerequisites (e.g., that it needs long-lived or temporary AWS credentials), and no mention of alternatives for other auth schemes. The usage context is implied rather than stated.

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