Summary
Agents starting a session (or resuming mid-session) have no way to discover what org/project is currently active without making speculative tool calls. A dedicated context tool solves cold-start confusion and guides agents to their next required action.
Proposed behavior
Add a new context tool that returns current session state:
{
"active_org": "my-org",
"active_project": "my-project",
"authenticated": true,
"next_step": null
}
When state is incomplete, next_step provides explicit guidance:
{
"active_org": null,
"active_project": null,
"authenticated": true,
"next_step": "Call 'organizations' with action='list', choose an org, then call with action='set'"
}
This makes the tool act as a navigator, not just a status check.
Acceptance criteria
Ratings
| Dimension |
Score (1–5) |
| LOE |
2 |
| Impact |
4 |
| Agent XP |
5 |
Summary
Agents starting a session (or resuming mid-session) have no way to discover what org/project is currently active without making speculative tool calls. A dedicated context tool solves cold-start confusion and guides agents to their next required action.
Proposed behavior
Add a new
contexttool that returns current session state:{ "active_org": "my-org", "active_project": "my-project", "authenticated": true, "next_step": null }When state is incomplete,
next_stepprovides explicit guidance:{ "active_org": null, "active_project": null, "authenticated": true, "next_step": "Call 'organizations' with action='list', choose an org, then call with action='set'" }This makes the tool act as a navigator, not just a status check.
Acceptance criteria
contexttool added and registered with the MCP serveractive_org,active_project,authenticatedfieldsnext_stepis populated with a concrete instruction whenever org or project is not setnext_stepisnullwhen fully configured and ready to useRatings