Repository navigation
Description
The MCP server covers a lot. packages/mcp-server/src/tools/ has eleven files spanning issues, docs, planning, scrum, taxonomy, workspace, org, identity, admin and support.
It does not cover everything, and the gaps are not obvious until an agent hits one mid-task and has no way forward.
What this issue is
An audit and a fill. It is deliberately open ended and it suits somebody who wants to use Orbit through an agent and fix what they run into.
Step one, which is a contribution on its own: connect an agent, try to do a realistic piece of work end to end, and write down every point where a tool was missing, took the wrong shape, returned too much, returned too little, or had a description the model misread. Post that list here. Somebody else can take the fixes.
Known gaps
Some are already visible from reading the code:
- Analytics. There is no analytics tool at all.
buildChartis a well defined function with a Zod request schema atpackages/core/src/analytics/schemas.tsand it would map to a tool almost directly. An agent that can read the board but cannot answer "how did the team do last sprint" is missing the most natural question to ask it - Anything behind a dormant table. Webhooks, automation rules, the audit log and API keys have no tools because they have no features. They arrive with those features
- Attachments and files. Check what exists
- Notification and inbox state. An agent that can triage should be able to mark things read
- Bulk operations. Moving forty issues one call at a time is slow and hits rate limits. Where a batch is safe, offer one
Quality, not just coverage
More tools is not automatically better. Past a certain number, tool descriptions start competing for the model's attention and the whole set gets worse. So:
- Descriptions are the interface. A tool whose description does not say when to use it will be used wrongly. Read the existing ones for the standard
- Names over ids. The server instructions already say tools take names rather than ids, which is right for a model. Keep it
- Errors are instructions. A failure should tell the model what to do differently, not just that something went wrong. "No team named Platform. Call list_teams to see the options." is a good error
- Response size. A tool returning two hundred issues in full burns context for no benefit. Paginate and summarise
- Scopes. Every read tool needs
orbit.read, every write tool needsorbit.write, and a token with neither is refused before any tool is registered. Any new tool follows that
Tests
packages/mcp-server/ has its own suite and its own test database, orbit_test_mcp. Every new tool gets a test, including a permission test proving a member cannot reach another team through it.
Files
packages/mcp-server/src/tools/packages/mcp-server/src/server.tspackages/core/for the operations behind themdocs/mcp.md
Good first issue, in its smallest form
Adding one well tested tool, with a good description, is a complete contribution. Say which one you are adding.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsBacklog
Activity
imshashank commentedon Aug 15, 2026
Three of the five known gaps have been filled since this was filed. Updating the list so nobody re-files work that is done.
Re-checked against
packages/mcp-server/src/tools/on3ba32cb. The directory is now thirteen files, not eleven:github.tsandinbox.tsare new.attach_file,list_attachments,list_issue_attachmentsandread_attachment. #284 added the read side, which was the missing halfinbox.tsfrom #244 giveslist_notificationsandmark_notification_read, so an agent that triages can mark things readAlso new since filing, outside the list here:
github.tsfrom #232 withlist_github_repositories,link_github_repository,unlink_github_repository,list_issue_pull_requestsandpull_request.The analytics gap moved. This issue says
buildChart"would map to a tool almost directly", and that was true when written. Since #309,buildChartandchartRequestSchemaare no longer what the product uses: the analytics surface runs onanalyticsQuerySchemainpackages/shared/src/validators/analytics.tswith four lenses, a reporting range, a filter group and a drilldown. So there are now two candidates, and picking between them is most of the design:buildChart, which is a small tool over an engine the product itself no longer calls.formulas()metadata explaining what each number measures. That is more useful to a model and more work.The second is the better answer. Worth saying so in a comment here before writing code, as the issue asks.
Step one is still the most valuable contribution here and nobody has done it. Nothing in this thread is a report from actually driving Orbit through an agent end to end. The fills above all came from other work rather than from the audit this issue asked for, so the audit itself is still entirely open.
SinghAstra commentedon Aug 18, 2026
Hey @imshashank, I'd love to pick this up and fill the Analytics gap!
I read through your latest update, and I completely agree with your second option: wrapping the actual lenses (
analyticsQuerySchema+loadAnalyticsOverviewfrompackages/core/src/analytics/) is far more valuable to an agent answering "how did the team do last sprint?" than reviving the dormantbuildChartengine.My plan:
packages/mcp-server/src/tools/analytics.ts.get_analytics_overviewtool that maps model-friendly inputs (likerange,measure, and optional filters) into the strictAnalyticsQueryAST format.loadAnalyticsOverview(principal, query)and return the formatted cards/outliers back to the model.tools/index.tsand add the required scoping tests.I'm going to start drafting this locally. Let me know if you have any immediate red flags with this approach!
Rahul-pamula commentedon Aug 18, 2026
if no one is working on this issue i willl good to work on this issue
imshashank commentedon Aug 23, 2026
Thanks both. @SinghAstra is already implementing the analytics slice in #336, so please do not duplicate that work.
@Rahul-pamula, the end-to-end audit described in step one is still completely unclaimed. The useful contribution there is to connect an agent to Orbit, drive a realistic workflow, and post every missing, misleading, oversized, or awkward tool here before writing code. That can land independently of #336.
#336 should use
Addresses #219, notCloses #219. Analytics is only one slice, while the audit, bulk operations, and feature-dependent tool gaps remain open.feat(mcp): add analytics overview tool (Noveum#336)