Skip to main content
Glama
claude-bedrock-mcp-server

claude-bedrock-mcp-server

by Code-Ninety

bedrock_grounded_rag

Retrieves knowledge-base chunks, generates Claude answers with inline citations, and scores faithfulness to verify grounded RAG responses.

Instructions

Run end-to-end governed RAG: retrieve chunks, invoke Claude with inline citations, and score response faithfulness automatically.

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": {
      "query": "<query>"
    },
    "name": "bedrock_grounded_rag"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
top_kNo
model_idNo
knowledge_base_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/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. It discloses the pipeline stages and that citations are inline, which is useful, but says nothing about cost/latency of multiple LLM calls, credentials or knowledge-base authorization, failure handling when retrieval returns nothing, or whether the faithfulness score gates the response.

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 dense sentence that front-loads the action and then enumerates the three stages in execution order; nothing is redundant. Minor cost from jargon ('governed') that is never unpacked.

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

Completeness3/5

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

An output schema exists, so return-value explanation isn't required, and the stage list gives a reasonable mental model of a multi-step tool. Still, for a composite pipeline with four wholly undocumented parameters and no annotations, an agent lacks enough to configure it correctly or anticipate cost and failure modes.

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 0% across four parameters, and the description adds no meaning for any of them. It never explains what top_k controls, what happens when model_id or knowledge_base_id are left null (defaults?), or how query text is used for retrieval versus generation.

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?

States a specific verb+resource ('Run end-to-end governed RAG') and enumerates the three stages it performs: retrieval, Claude invocation with inline citations, and faithfulness scoring. The 'end-to-end' framing implicitly distinguishes it from the component siblings (retrieve / converse / evaluate), though no sibling is named explicitly.

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?

The word 'end-to-end' implies this is the composed alternative to calling retrieval, generation, and evaluation separately, but the description never states that explicitly or says when to prefer the pipeline over the individual sibling tools. An agent must infer the routing decision from the stage list.

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