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)

ToolPurposeAuth Required
quoth_guidelinesGet adaptive guidelines for coding/review/documentationYes
quoth_search_indexSemantic search across documentationYes
quoth_read_docRead full document contentYes
quoth_propose_updateSubmit documentation updatesYes (editor+)
quoth_list_templatesList available templatesYes
quoth_get_templateFetch template structureYes
quoth_read_chunksFetch specific chunks by IDYes
quoth_list_accountsList available project accountsYes
quoth_switch_accountSwitch active project contextYes

Agent-to-Agent (A2A) Bus Tools (10)

ToolPurposeAuth Required
quoth_agent_registerRegister a new agent in the organizationYes
quoth_agent_updateUpdate agent profile/statusYes
quoth_agent_removeArchive or delete an agentYes
quoth_agent_listList all agents in organizationYes
quoth_agent_assign_projectAssign agent to a projectYes
quoth_agent_unassign_projectRemove agent from projectYes
quoth_agent_messageSend message to another agent (HMAC signed)Yes
quoth_agent_inboxRead agent's message inboxYes
quoth_task_createCreate task for an agentYes
quoth_task_updateUpdate task status/resultYes

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

ParameterTypeRequiredDescription
modestringYescode, review, or document
fullbooleanNoReturn full guidelines (~500 tokens) instead of compact (~150 tokens)

Modes

ModeUse WhenReturns
codeWriting or editing codePatterns, anti-patterns, trust levels
reviewAuditing existing codeViolations, drift vs new pattern
documentCreating/updating Quoth docsTemplate 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

ParameterTypeRequiredDescription
querystringYesNatural language search query
scopeenumNo"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

ParameterTypeRequiredDescription
doc_idstringYesDocument title or path
scopeenumNo"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

ParameterTypeRequiredDescription
doc_idstringYesDocument to update
new_contentstringYesProposed new content (full markdown)
evidence_snippetstringYesCode or commit reference
reasoningstringYesWhy this update is needed
visibilityenumNo"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

ParameterTypeRequiredDescription
categoryenumNo"all", "architecture", "patterns", "contracts"

quoth_get_template

Retrieves a specific document template with full structure.

Parameters

ParameterTypeRequiredDescription
template_idstringYesTemplate path or ID

quoth_read_chunks

Fetches full content of specific chunks by their IDs. Token-efficient for retrieving only needed sections.

Parameters

ParameterTypeRequiredDescription
chunk_idsstring[]YesArray 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

ParameterTypeRequiredDescription
project_idstringYesProject 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

ParameterTypeRequiredDescription
agent_namestringYesUnique name (lowercase, hyphens allowed)
display_namestringNoHuman-readable name with emoji
instancestringYesWhere agent runs: aws, mac, montino, etc.
modelstringNoAI model identifier
rolestringNoorchestrator, specialist, curator, admin
capabilitiesobjectNoJSON capabilities
project_slugstringNoAuto-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

ParameterTypeRequiredDescription
agent_idstringNoAgent UUID (or use agent_name)
agent_namestringNoAgent name to identify
display_namestringNoNew display name
statusenumNo"active", "inactive", "archived"
modelstringNoNew model identifier
rolestringNoUpdated role
capabilitiesobjectNoNew capabilities

quoth_agent_remove

Deactivate (archive) or permanently delete an agent.

Parameters

ParameterTypeRequiredDescription
agent_idstringNoAgent UUID
agent_namestringNoAgent name
hard_deletebooleanNoIf true, permanently delete

quoth_agent_list

List all agents in your organization with filtering options.

Parameters

ParameterTypeRequiredDescription
statusenumNo"active" (default), "inactive", "archived", "all"
instancestringNoFilter by instance (aws, mac, montino)
project_idstringNoFilter 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

ParameterTypeRequiredDescription
agent_idstringNoAgent UUID
agent_namestringNoAgent name
project_idstringYesProject to assign to
roleenumNo"owner", "contributor", "readonly" (default: contributor)

quoth_agent_unassign_project

Remove an agent's assignment from a project.

Parameters

ParameterTypeRequiredDescription
agent_idstringNoAgent UUID
agent_namestringNoAgent name
project_idstringYesProject 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

ParameterTypeRequiredDescription
tostringYesTarget agent name or UUID
messagestringYesMessage content
typeenumNo"message" (default), "task", "result", "alert", "knowledge", "curator"
priorityenumNo"low", "normal" (default), "high", "urgent"
channelstringNoOptional channel/topic
reply_tostringNoMessage 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

ParameterTypeRequiredDescription
agent_idstringNoAgent UUID
agent_namestringNoAgent name
limitnumberNoMax messages (default: 10)
statusenumNo"pending" (default), "delivered", "read", "failed", "all"
mark_readbooleanNoMark 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

ParameterTypeRequiredDescription
assigned_tostringYesAgent name or UUID
titlestringYesTask title
descriptionstringNoDetailed description
prioritynumberNo1-10 (1=highest, default: 5)
deadlinestringNoISO 8601 timestamp
payloadobjectNoAdditional 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

ParameterTypeRequiredDescription
task_idstringYesTask UUID
statusenumNo"pending", "in_progress", "done", "failed", "cancelled"
resultobjectNoTask result data
prioritynumberNoUpdated priority
deadlinestringNoUpdated 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

PriorityUse CaseDelivery
lowBackground tasks, non-urgentStandard queue
normalRegular messagesStandard queue
highImportant notificationsExpedited
urgentCritical alertsImmediate + 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

TierRequests/minSearch/day
Free10100
Pro601,000
EnterpriseUnlimitedUnlimited

Rate limits apply per API key. Generate separate keys for different projects to avoid hitting limits.