Skip to content

Make Tiger CLI and MCP docs reliable for AI agents - #455

Open
atovpeko wants to merge 3 commits into
mainfrom
fix/cli-mcp-docs-ai-optimization
Open

Make Tiger CLI and MCP docs reliable for AI agents#455
atovpeko wants to merge 3 commits into
mainfrom
fix/cli-mcp-docs-ai-optimization

Conversation

@atovpeko

@atovpeko atovpeko commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Describe your changes

Makes the Tiger CLI and Tiger MCP docs reliable for AI agents to read and execute.

Affected pages

Related Issues

Issue: none

Checklist before requesting a review

  • - This is ready for review. If not, raise as a draft PR
  • - I have reviewed my changes.
  • - I have confirmed the content is technically accurate.
  • - I have tested any code that is added or updated on the latest available version.
  • - I have confirmed the content is free of typos or grammar errors.
  • - I have verified all images and videos are clear and match production (or dev for unreleased features). No images or videos were changed.
  • - I have checked the component kitchen sink for any visual breakage (only needed if you changed components, styles, or dependencies). No components, styles, or dependencies were changed.
  • - This references a feature that is public. If not, add a note and we can schedule the merge for after the feature release.

Verifies and fixes the CLI/MCP reference, quickstarts, common tasks,
cookbook, agent best practices, and the Console/CLI tab pages against
the live product rather than the original review's claims alone.

Highlights:
- All 28 CLI commands now have real, verified sample output; fixed a
  wrong "auto-generated name" message, two table-alignment bugs, and
  a false claim that `config reset` logs you out.
- MCP reference cross-checked against live tool schemas for all 13
  tools; fixed `search_docs`'s required/optional fields to match the
  current schema.
- Cookbook recipe corrected to not ask the agent to delete a fork,
  since there's no MCP tool for service delete.
- Moved the CLI-to-MCP comparison table to the CLI/MCP overview page
  and made it comprehensive (service, database, and MCP-only tools),
  freeing common-tasks.mdx to use non-redundant question-style
  headings with tools linked to their reference entries.
- Added an FAQ (with JSON-LD) to the CLI/MCP overview page; fixed a
  visible/structured-data mismatch and a false "same underlying
  capabilities" claim.
- Change-resources and service-management pages: pulled HA-aware
  resize behavior and free-tier constraints forward from the
  Console-only tab, added real CLI output, and documented that the
  CLI doesn't enforce Console's production delete protection.
Re-ran the Tiger CLI and Tiger MCP docs against the live product: all 29
commands' flags, ~25 commands' output, all 13 MCP tool schemas, read-only
mode, and all six cookbook recipes end to end.

Commands or claims that were wrong:
- `service resize --cpu 4 --memory 16` fails; CPU is in millicores. Fixed
  the reference and common-tasks, and stated the unit in the flag table.
- `db test-connection` doesn't follow pg_isready conventions: 1 is a usage
  error and 2 covers both unreachable and rejected credentials. Rewrote the
  exit-code table from observed behavior and added the failure output.
- `db create role --read-only` grants no table privileges, so an agent
  connecting as that role gets permission denied on every query. Noted on
  the flag and on the best-practices page.
- `auth status` doesn't show a project ID under OAuth; what it lists depends
  on the login method.
- The `service logs` sample wasn't the real format (no session ID, user, or
  SQLSTATE). Replaced with a captured sample, plus notes that timestamps use
  the client time zone and `--tail` counts entries, not lines.
- Resizing a free service from the CLI converts it to a standard, billable
  one with no separate step. Moved the Console-only conversion requirement
  into the Console tab and documented the CLI behavior in the CLI tab.
- Dropped the "about a minute to a couple of seconds" resize downtime
  figures: measured ~6s without HA and nothing detectable with HA.
- `--pooled` needs a connection pooler on the service.

Also: corrected the CLAUDE.md guardrails snippet (partial deny list,
duplicate placeholders), matched the FAQ's JSON-LD to its visible answer,
set the MCP quickstart's Prerequisites context to procedure, gave cookbook
recipe 6 a setup line, and linked common-tasks to the reference for flags
and sample output.
@atovpeko
atovpeko requested a review from a team August 13, 2026 11:48
@vercel

vercel Bot commented Aug 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tiger-data-docs Ready Ready Preview Aug 13, 2026 11:51am

@github-actions

Copy link
Copy Markdown

✅ Checklist Complete

Thank you for taking the time to properly review your PR! All checklist items are complete.

@atovpeko atovpeko changed the title Make Tiger CLI and MCP docs reliable for AI agents, and fix what testing disproved Make Tiger CLI and MCP docs reliable for AI agents Aug 13, 2026
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