Skip to content

Add context/navigator tool #64

Description

@bmertens-datum

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

  • context tool added and registered with the MCP server
  • Returns active_org, active_project, authenticated fields
  • next_step is populated with a concrete instruction whenever org or project is not set
  • next_step is null when fully configured and ready to use

Ratings

Dimension Score (1–5)
LOE 2
Impact 4
Agent XP 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions