Static source inference · medium confidence · detected: Logging
Deprecated protocol patterns detected
Summary
The Jira MCP server has 33 well-named tools with consistent verb-first naming (create_, update_, search_, get_, list_, transition_, etc.) and clear action semantics. Descriptions are present on all tools and most parameters, ranging from 20-150 characters. Input schemas are visible and properly typed with required field declarations. However, several critical gaps reduce the score: (1) Tool descriptions lack LLM-optimized guidance on when to use a tool versus similar alternatives; (2) Many parameters lack descriptions or have generic ones (e.g., 'fields': {'type': 'object', 'description': 'Fields to update'} with no detail on what fields are valid); (3) Output schemas are not documented in the visible code, no clarity on what fields are returned from create_issue, search_issues, etc.; (4) No error handling guidance visible (e.g., what to do if JQL is invalid, if a transition is not available); (5) Tool descriptions do not state whether they have side effects (which ones are idempotent, which are destructive). The naming baseline (avg 18 chars, p90=27) is met well. The description baseline (avg 194 chars) is NOT met, most tool descriptions are 20-150 chars, below the median. Parameter descriptions are sparse, many object/array parameters lack any description of their structure or valid values.
Output schemas not documented. No visible description of what fields tools return (e.g., what does create_issue return? A ticket ID only? Full issue object?). LLMs cannot plan downstream calls without knowing what data is available. This forces agents to guess or make unnecessary lookup calls.
Parameter descriptions are sparse or generic. 'fields': {'type': 'object', 'description': 'Fields to update'} or 'Additional custom fields' does not explain what fields are valid, required, or their types. LLMs cannot construct valid payloads without explicit field documentation.
Document output schemas for all 33 tools. For each tool, specify: (a) What fields are returned? (b) Are responses paginated? (c) What IDs/references are included for chaining? Use the format: 'Returns: { issue_key: string, issue_id: integer, summary: string, status: { name: string, id: string }, fields: { [key]: any }, ... }'
Expand parameter descriptions for object/array params. Instead of 'fields': {'description': 'Fields to update'}, write: 'fields': {'description': 'Object mapping field IDs to new values. Common fields: assignee (user object), status (string ID from get_transitions), summary (string), description (string). Use get_field_details to discover custom fields for this project/issue_type.'}
Add error handling guidance to tool descriptions. E.g., search_issues: 'Returns an error if JQL syntax is invalid. Example error: "Invalid JQL: expecting [ but found 'foo'". If you receive a syntax error, correct the query based on the error message and retry. Call list_fields or get_issue to discover available fields.'
Standardize parameter naming across tools. All user-identifier parameters should accept or clarify: use 'account_id' consistently (or 'user_id' + 'user_name' alternatives). Document: 'account_id is the Jira user ID. Call search_users to resolve a name/email to an account_id.'
Add pagination limits and guidance to list_* tools. E.g., list_labels: 'Limit: 50 results per call. To get the next page, pass start_at=50 (or use the next_cursor from the previous response if available). Returns total_count so you know how many labels exist.'
Spec posture evidence
Inferred effective spec: <=2025-11-25.
Relies on Logging (deprecated) - log to stderr or use OpenTelemetry
No error handling guidance visible in tool descriptions. No mention of what errors can occur (invalid JQL, unavailable transition, user not found) or what the LLM should do next. E.g., search_issues should document: 'If JQL is invalid, returns an error with the syntax issue, correct the query and retry.'
Destructive operations lack confirmation or dry-run semantics. delete_comment and delete_issue_link do not mention whether they are idempotent or require confirmation. Agents need to know if retrying a failed delete will cause duplicate removal attempts.
Tool descriptions lack context on when to use each tool vs similar alternatives. search_issues vs get_issue vs list_projects, when should the LLM choose one over another? Descriptions do not explain decision criteria.
No pagination guidance visible in list tools. list_labels, list_fields, list_issue_types, list_boards, list_sprints, list_projects do not document maximum result limits or how to handle large result sets. Baseline: A+ tools cap results at 20-50 and support pagination.
Parameter names not disambiguated by type. 'account_id' vs 'user_id', both refer to user identifiers, but naming is inconsistent across tools (assign_issue uses account_id, search_assignable_users uses implicit user resolution). Should standardize or accept both formats.
Missing tool-chaining IDs in responses. If create_issue returns a ticket ID, that must be clearly documented so agents know they can immediately pass it to add_comment or transition_issue. No output schema visible means agents cannot verify they have the right IDs.
Document idempotency and side-effects for all write tools. E.g., add_label: 'Idempotent, adding a label that already exists is a no-op.' Or delete_comment: 'Destructive, deletion is permanent and not reversible. No dry-run available.'
For discovery tools (list_fields, get_field_details, list_issue_types), add dependency hints. E.g., list_fields: 'Call this before create_issue to understand what fields are required, optional, or custom for the target project + issue_type. Then construct a valid fields object.'
Add enum constraints to string parameters with known values. E.g., transition_issue should document the format of transition_id (is it an integer? a string?). list_sprints should accept state as an enum: state ∈ {active, closed, future} (avoid free-form strings).
Document result limits and filtering for search tools. E.g., search_issues: 'Limit: Results capped at 100. To retrieve large result sets, use pagination (limit + offset parameters). Avoid passing queries that match >1000 issues, break into smaller date ranges or project filters.'
Add a 'When to use' section to tool descriptions for overlapping tools. E.g., get_issue vs search_issues: 'get_issue: Use when you already have an issue_key (e.g., PROJ-123). Returns full details including custom fields. search_issues: Use to find issues by JQL criteria (status, assignee, labels, etc.) when you don't know the key.'
Clarify account_id resolution. Some tools accept account_id directly; others may require a lookup via search_users. Document: 'Pass the account_id from search_users or search_assignable_users. If you only have a username or email, call search_users first.' This prevents LLM guessing.