MCP server: AWS Bedrock model capability lookup + feature pre-check + PII-safe response redaction. Wraps the Python bedrock-ops library.
Three well-defined tools with complete input schemas and clear descriptions. Tool names follow verb_noun convention (bedrock_capabilities, bedrock_precheck, bedrock_redact_response). All tools have descriptions 150+ chars explaining WHAT, WHEN, and WHY. Input schemas are properly typed with required fields. However, output schemas are not documented, LLMs cannot predict response structure. Parameter descriptions are present but some lack format/constraint details (e.g., 'region' parameter has no enum or format guidance). Error handling guidance is absent from descriptions.
Look up an AWS Bedrock foundation model's capabilities: max input/output tokens, vision support, tool-use support, prompt-cache support, thinking-mode support, streaming support, cross-region inference, and the list of regions where it's available. Accepts both bare model ids (e.g. 'anthropic.claude-sonnet-4-20250514-v1:0') and cross-region inference profile ids (e.g. 'us.anthropic.claude-sonnet-4-...'). Returns null capabilities + a list of known model ids when the requested model isn't in the table — use that response to inform the user the model is unrecognized.
Validate a feature combination against an AWS Bedrock model BEFORE making the API call. Catches incompatibilities like "model does not support thinking mode", "model not available in eu-central-1", or "feature combo (cache + latency-optimized) silently throws ValidationException at runtime" without an API round-trip. Returns ok=true when every requested feature is supported, otherwise ok=false with a list of unsupported features and a human-readable message.
Take a raw Bedrock Converse response that may contain PII (because a Guardrail intervention surfaces the violating content in the API response) and return a copy safe to send to a structured logger or trace store. When the configured guardrail intervened, the model output text is replaced with [REDACTED-by-bedrock-ops] and the trace is stripped. When no intervention occurred, returns the response unchanged. Mirrors the Python lib's safe_log_response().
Output schemas not documented. LLMs cannot predict response structure (e.g., what fields bedrock_capabilities returns, what 'ok' and 'unsupported_features' look like in bedrock_precheck response). This forces agents to guess and wastes tokens on trial-and-error.
bedrock_redact_response 'response' parameter is typed as generic 'object' with no schema constraints. LLMs cannot validate input structure before calling. Should define required nested fields (output.message.content, trace.guardrail) with explicit schema.
No error handling guidance in tool descriptions. When bedrock_precheck returns ok=false, what should the agent do? When bedrock_capabilities returns null capabilities, should the agent retry or ask the user? Descriptions lack recovery paths.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
'region' parameter in bedrock_precheck lacks enum or format constraint. Should specify valid AWS regions (us-east-1, eu-central-1, etc.) as an enum or pattern to prevent hallucinated region names.
bedrock_capabilities description mentions 'cross-region inference profile ids' but does not explain the format or prefix convention (e.g., 'us.anthropic.claude-...'). LLMs may construct invalid profile IDs.