get_issue_fields

Return all field names that are valid for the "select" parameter of list_issues and get_issue. Fields are discovered by fetching a sample issue from MantisBT (which reflects the server's active configuration — e.g. whether eta, projection, or profile fields are enabled) and merging the result wit...

Server MantisBT MCP Server @dpesch/mantisbt-mcp-server
Category Read
Risk class Low
Parameters 10 required

What get_issue_fields does on MantisBT MCP Server

AI agents call get_issue_fields to retrieve information from MantisBT MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
project_id integer Optional project ID to scope the sample issue fetch

Parameters from the server's own tool schema.

Why get_issue_fields needs a policy

This tool retrieves configuration and metadata information about valid issue fields. It has no side effects: it does not create, modify, delete, or execute operations. It is a read-only discovery mechanism intended to help construct valid queries. The caching and merging of field information is internal bookkeeping that does not alter system state.

From the tool's definition Tool description states it 'Return[s] all field names' and 'discovering' fields by 'fetching a sample issue' from MantisBT. The operation is purely informational—it queries and retrieves field metadata without modifying, executing, or deleting anything.

Questions about get_issue_fields

What does the get_issue_fields tool do? +

Return all field names that are valid for the "select" parameter of list_issues and get_issue. Fields are discovered by fetching a sample issue from MantisBT (which reflects the server's active configuration — e.g. whether eta, projection, or profile fields are enabled) and merging the result with fields that MantisBT omits when empty (notes, attachments, relationships, etc.). The result is cached with the same TTL as the metadata cache. Use this tool before constructing a "select" string to ensure you only request fields that exist on this server. It is categorised as a Read tool in the MantisBT MCP Server MCP Server, which means it retrieves data without modifying state.

What parameters does get_issue_fields accept? +

get_issue_fields accepts 1 parameter: project_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on get_issue_fields? +

Register the MantisBT MCP Server MCP server in PolicyLayer and add a rule for get_issue_fields: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches MantisBT MCP Server. Nothing to install.

What risk level is get_issue_fields? +

get_issue_fields is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_issue_fields? +

Yes. Add a rate_limit block to the get_issue_fields rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get_issue_fields completely? +

Set action: deny in the PolicyLayer policy for get_issue_fields. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get_issue_fields? +

get_issue_fields is provided by the MantisBT MCP Server MCP server (@dpesch/mantisbt-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.