MCP Tools Reference
Complete reference for all 19 Quoth MCP tools
Quoth exposes 19 tools through the Model Context Protocol (MCP). These tools enable both knowledge management and agent-to-agent communication across your organization.
Tools Overview
Knowledge Base Tools (9)
| Tool | Purpose | Auth Required |
|---|---|---|
quoth_guidelines | Get adaptive guidelines for coding/review/documentation | Yes |
quoth_search_index | Semantic search across documentation | Yes |
quoth_read_doc | Read full document content | Yes |
quoth_propose_update | Submit documentation updates | Yes (editor+) |
quoth_list_templates | List available templates | Yes |
quoth_get_template | Fetch template structure | Yes |
quoth_read_chunks | Fetch specific chunks by ID | Yes |
quoth_list_accounts | List available project accounts | Yes |
quoth_switch_account | Switch active project context | Yes |
Agent-to-Agent (A2A) Bus Tools (10)
| Tool | Purpose | Auth Required |
|---|---|---|
quoth_agent_register | Register a new agent in the organization | Yes |
quoth_agent_update | Update agent profile/status | Yes |
quoth_agent_remove | Archive or delete an agent | Yes |
quoth_agent_list | List all agents in organization | Yes |
quoth_agent_assign_project | Assign agent to a project | Yes |
quoth_agent_unassign_project | Remove agent from project | Yes |
quoth_agent_message | Send message to another agent (HMAC signed) | Yes |
quoth_agent_inbox | Read agent's message inbox | Yes |
quoth_task_create | Create task for an agent | Yes |
quoth_task_update | Update task status/result | Yes |
Knowledge Base Tools
quoth_guidelines
Get adaptive guidelines for your current task. Strongly recommended before writing code, reviewing, or documenting.
This tool replaces the need to manually activate personas. Claude can call it autonomously when writing code.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | string | Yes | code, review, or document |
full | boolean | No | Return full guidelines (~500 tokens) instead of compact (~150 tokens) |
Modes
| Mode | Use When | Returns |
|---|---|---|
code | Writing or editing code | Patterns, anti-patterns, trust levels |
review | Auditing existing code | Violations, drift vs new pattern |
document | Creating/updating Quoth docs | Template requirements, embedding rules |
Example
Get Quoth guidelines for writing code
ā quoth_guidelines({ mode: "code" })
quoth_search_index
Performs semantic search across your knowledge base using AI embeddings.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Natural language search query |
scope | enum | No | "project" (default), "shared", or "org" |
Scopes
- project (default): Search only current project's documents
- shared: Search cross-project shared knowledge across your organization
- org: Search all organization documents including both project and shared
Example
// Search within current project
quoth_search_index({ query: "authentication patterns" })
// Search shared organizational knowledge
quoth_search_index({ query: "API conventions", scope: "shared" })
quoth_read_doc
Retrieves the full content of a specific document.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
doc_id | string | Yes | Document title or path |
scope | enum | No | "project" (default) or "org" |
Example
quoth_read_doc({ doc_id: "testing-patterns" })
// Search across org for shared docs
quoth_read_doc({ doc_id: "shared/architecture-overview", scope: "org" })
quoth_propose_update
Submits a documentation update proposal with evidence.
Requires editor or admin role. Viewers cannot propose updates.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
doc_id | string | Yes | Document to update |
new_content | string | Yes | Proposed new content (full markdown) |
evidence_snippet | string | Yes | Code or commit reference |
reasoning | string | Yes | Why this update is needed |
visibility | enum | No | "project" or "shared" |
Example
quoth_propose_update({
doc_id: "backend-patterns",
new_content: "# Updated Pattern...",
evidence_snippet: "commit abc123",
reasoning: "Added new error handling approach",
visibility: "shared"
})
quoth_list_templates
Lists available document templates by category.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
category | enum | No | "all", "architecture", "patterns", "contracts" |
quoth_get_template
Retrieves a specific document template with full structure.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
template_id | string | Yes | Template path or ID |
quoth_read_chunks
Fetches full content of specific chunks by their IDs. Token-efficient for retrieving only needed sections.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
chunk_ids | string[] | Yes | Array of chunk IDs (1-20 chunks) |
quoth_list_accounts
Lists all project accounts available to the authenticated user.
Example Response
ā **ACTIVE** My Project (my-project) - Role: admin
Project ID: abc-123
Side Project (side) - Role: editor
Project ID: def-456
Use `quoth_switch_account` with a project ID to switch your active context.
quoth_switch_account
Switches the active project account. All subsequent operations use the selected project context.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | Yes | Project ID to switch to |
Agent-to-Agent (A2A) Bus Tools
The A2A Bus enables real-time communication between agents across different instances (AWS, Mac, WSL2, etc.). Messages are delivered via Supabase Realtime with HMAC-SHA256 signing for verification.
quoth_agent_register
Register a new agent in your organization.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_name | string | Yes | Unique name (lowercase, hyphens allowed) |
display_name | string | No | Human-readable name with emoji |
instance | string | Yes | Where agent runs: aws, mac, montino, etc. |
model | string | No | AI model identifier |
role | string | No | orchestrator, specialist, curator, admin |
capabilities | object | No | JSON capabilities |
project_slug | string | No | Auto-create and assign to project |
Example
quoth_agent_register({
agent_name: "interviews-agent",
display_name: "Interview Assistant š¤",
instance: "mac",
role: "specialist",
project_slug: "hiring-2026"
})
quoth_agent_update
Update agent profile, status, or metadata.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id | string | No | Agent UUID (or use agent_name) |
agent_name | string | No | Agent name to identify |
display_name | string | No | New display name |
status | enum | No | "active", "inactive", "archived" |
model | string | No | New model identifier |
role | string | No | Updated role |
capabilities | object | No | New capabilities |
quoth_agent_remove
Deactivate (archive) or permanently delete an agent.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id | string | No | Agent UUID |
agent_name | string | No | Agent name |
hard_delete | boolean | No | If true, permanently delete |
quoth_agent_list
List all agents in your organization with filtering options.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
status | enum | No | "active" (default), "inactive", "archived", "all" |
instance | string | No | Filter by instance (aws, mac, montino) |
project_id | string | No | Filter by project assignment |
Example Response
- **Interview Assistant š¤** (interviews-agent)
- ID: uuid-here
- Instance: mac
- Role: specialist
- Model: anthropic/claude-opus-4
- Status: active
- Last seen: 2026-02-26T14:30:00Z
quoth_agent_assign_project
Assign an agent to work on a specific project.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id | string | No | Agent UUID |
agent_name | string | No | Agent name |
project_id | string | Yes | Project to assign to |
role | enum | No | "owner", "contributor", "readonly" (default: contributor) |
quoth_agent_unassign_project
Remove an agent's assignment from a project.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id | string | No | Agent UUID |
agent_name | string | No | Agent name |
project_id | string | Yes | Project to unassign from |
quoth_agent_message
Send a targeted message to a specific agent with HMAC-SHA256 signing.
Messages are delivered in real-time via Supabase Realtime. The recipient receives an instant notification.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
to | string | Yes | Target agent name or UUID |
message | string | Yes | Message content |
type | enum | No | "message" (default), "task", "result", "alert", "knowledge", "curator" |
priority | enum | No | "low", "normal" (default), "high", "urgent" |
channel | string | No | Optional channel/topic |
reply_to | string | No | Message ID to reply to |
Example
quoth_agent_message({
to: "interviews-agent",
message: "New candidate pipeline ready for review",
type: "alert",
priority: "high",
channel: "hiring"
})
quoth_agent_inbox
Retrieve messages sent to an agent.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_id | string | No | Agent UUID |
agent_name | string | No | Agent name |
limit | number | No | Max messages (default: 10) |
status | enum | No | "pending" (default), "delivered", "read", "failed", "all" |
mark_read | boolean | No | Mark retrieved as read (default: false) |
Example Response
š¬ Inbox for interviews-agent
**Total:** 2 messages
---
**From:** Main Orchestrator š @ aws
**Type:** alert | **Priority:** high
**Status:** pending
**Created:** 2026-02-26T14:30:00Z
**Channel:** hiring
**Message:**
New candidate pipeline ready for review
*ID: msg-uuid-here*
quoth_task_create
Create a structured task for an agent.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
assigned_to | string | Yes | Agent name or UUID |
title | string | Yes | Task title |
description | string | No | Detailed description |
priority | number | No | 1-10 (1=highest, default: 5) |
deadline | string | No | ISO 8601 timestamp |
payload | object | No | Additional task data |
Example
quoth_task_create({
assigned_to: "curator",
title: "Review new authentication patterns",
description: "Check the patterns proposed by main agent",
priority: 3,
deadline: "2026-02-27T18:00:00Z"
})
quoth_task_update
Update task status, result, or other fields.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
task_id | string | Yes | Task UUID |
status | enum | No | "pending", "in_progress", "done", "failed", "cancelled" |
result | object | No | Task result data |
priority | number | No | Updated priority |
deadline | string | No | Updated deadline |
Cross-Instance Communication
The A2A Bus enables agents running on different infrastructure to communicate seamlessly:
āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā
ā AWS Agent āāāāāāŗā Quoth Bus āāāāāāŗā Mac Agent ā
ā (main) ā ā (Supabase) ā ā (interviews)ā
āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā
ā
ā¼
āāāāāāāāāāāāāāā
ā WSL2 Agent ā
ā (curator) ā
āāāāāāāāāāāāāāā
Priority Levels
| Priority | Use Case | Delivery |
|---|---|---|
low | Background tasks, non-urgent | Standard queue |
normal | Regular messages | Standard queue |
high | Important notifications | Expedited |
urgent | Critical alerts | Immediate + notification |
Message Signing
All messages include an HMAC-SHA256 signature for verification:
signature = HMAC-SHA256(agent_signing_key, "from:to:payload:timestamp")
The signature is verified on receipt to ensure message authenticity.
Prompts (Personas)
Recommended: Use quoth_guidelines tool instead of prompts. It provides the same rules with lower token cost (~150 tokens vs ~2,000) and Claude can call it autonomously.
For strict behavioral enforcement, Quoth still provides prompts:
quoth_architect
Enforces "Single Source of Truth" rules. Use before writing code:
/prompt quoth_architect
quoth_auditor
Reviews code against documentation. Use for code review:
/prompt quoth_auditor
quoth_documenter
Documents code as you build:
/prompt quoth_documenter
Rate Limits
| Tier | Requests/min | Search/day |
|---|---|---|
| Free | 10 | 100 |
| Pro | 60 | 1,000 |
| Enterprise | Unlimited | Unlimited |
Rate limits apply per API key. Generate separate keys for different projects to avoid hitting limits.