Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

poll_events

Read-onlyIdempotent

Poll buffered Azure DevOps events using cursor-based pagination: start with a null cursor, then pass the returned cursor on subsequent calls to fetch new events.

Instructions

Poll buffered Azure DevOps events using SEP-3415 cursor semantics. Pass cursor: null (or omit cursor) to bootstrap at the current head, then supply the returned cursor on subsequent calls.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "poll_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCanonical SEP-3415 Azure DevOps event type to poll
cursorNoOpaque cursor from a previous poll_events call, or null / omitted to bootstrap at the current stream head
argumentsNoOptional event filter arguments (e.g. projectId, repositoryId, pullRequestId, pipelineId, runId, workItemId, branch, status, state)
maxEventsNoMaximum number of events to return (default 50, max 200)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.13

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that — events are server-side buffered and bootstrapping starts at the current head, implying no historical replay — but it says nothing about buffer retention or expiry, whether polling consumes or acknowledges events, or rate limits, which matter for a polling tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with what the tool does and followed immediately by the operational rule an agent must follow to call it correctly. No filler, no restatement of the title or the annotation flags.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description partially compensates by stating that a cursor is returned and must be supplied on the next call, which is the key return-value contract for a poller. It stops short of describing the event payload shape or what happens when the buffer is empty or the cursor has expired, leaving a modest gap for a stateful polling tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3; the description earns an increment by explaining the cursor contract (null/omitted to bootstrap at head, then supply the returned cursor), which conveys ordering and statefulness the schema's 'opaque cursor' text does not. The required 'name' enum and the 'arguments'/'maxEvents' filters are left entirely to the schema, which is acceptable given full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Poll buffered Azure DevOps events') plus the underlying protocol ('SEP-3415 cursor semantics'), which is far more specific than the tool name alone. It does not name or contrast with any sibling tool, but no sibling in the list appears to be a competing event-polling entry point, so the lack of explicit differentiation is a minor gap rather than ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence gives procedural guidance on the cursor lifecycle: pass null or omit it to bootstrap at the current head, then reuse the returned cursor. That is genuinely useful invocation guidance, but it never states when an agent should choose polling over the read-style siblings (get_pull_request, get_pipeline_run, etc.) or how frequently to poll, so usage context is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.