Skip to content

fix: clarify MCP doc tool routing for Glama#175

Merged
simongonzalezdc merged 1 commit into
mainfrom
codex/glama-mcp-metadata-dialectos
Jun 7, 2026
Merged

fix: clarify MCP doc tool routing for Glama#175
simongonzalezdc merged 1 commit into
mainfrom
codex/glama-mcp-metadata-dialectos

Conversation

@simongonzalezdc

@simongonzalezdc simongonzalezdc commented Jun 7, 2026

Copy link
Copy Markdown
Member

BLUF

Clarifies the overlapping DialectOS MCP documentation tools so Glama and MCP clients can distinguish README translation, ordinary Markdown translation, and API/reference documentation translation.

What changed

  • Expanded translate_markdown metadata with an explicit ordinary-Markdown use case and pointers to translate_readme / translate_api_docs.
  • Expanded translate_api_docs metadata with endpoint/reference-specific cues: HTTP methods, route paths, parameters, status codes, code examples, and tables.
  • Expanded translate_readme metadata with README-specific cues: badges, install commands, usage examples, contribution sections, and license text.
  • Added MCP registration tests that assert the routing language is present through the modern registerTool metadata path.

Verification

  • pnpm --filter=@dialectos/mcp exec vitest run src/tests/docs.test.ts src/tests/translator.test.ts
  • pnpm build
  • pnpm test

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: e218684d-2556-47f6-bc2b-9631cf25b39f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/glama-mcp-metadata-dialectos

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@simongonzalezdc simongonzalezdc merged commit 22869a5 into main Jun 7, 2026
9 checks passed
@simongonzalezdc simongonzalezdc deleted the codex/glama-mcp-metadata-dialectos branch June 7, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant