Skip to main content
Glama
norman-finance

Norman Finance MCP Server

Official

get_tax_report

Retrieve detailed tax report information using a specific report ID. Streamline tax management and access essential financial data for accurate accounting and compliance.

Instructions

Retrieve a specific tax report.

Args:
    report_id: Public ID of the tax report to retrieve
    
Returns:
    Tax report details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
report_idYes

Implementation Reference

  • The handler function for the 'get_tax_report' MCP tool. It takes a report_id parameter, constructs the API URL, and makes a GET request to retrieve the tax report details.
    @mcp.tool()
    async def get_tax_report(
        ctx: Context,
        report_id: str = Field(description="Public ID of the tax report to retrieve")
    ) -> Dict[str, Any]:
        """
        Retrieve a specific tax report.
        
        Args:
            report_id: Public ID of the tax report to retrieve
            
        Returns:
            Tax report details
        """
        api = ctx.request_context.lifespan_context["api"]
        
        report_url = urljoin(
            config.api_base_url,
            f"api/v1/taxes/reports/{report_id}/"
        )
        
        return api._make_request("GET", report_url)
  • Invocation of register_tax_tools(server) which registers the get_tax_report tool among other tax tools.
    register_tax_tools(server)
  • The register_tax_tools function that defines and registers all tax tools, including get_tax_report, using @mcp.tool() decorators.
    def register_tax_tools(mcp):
        """Register all tax-related tools with the MCP server."""
  • Pydantic Field defining the input schema for the report_id parameter of the get_tax_report tool.
    report_id: str = Field(description="Public ID of the tax report to retrieve")
Behavior2/5

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

With no annotations provided, the description carries full burden but offers minimal behavioral insight. It mentions retrieving 'details' but doesn't specify format, permissions required, error conditions, or whether it's a read-only operation. For a tool with zero annotation coverage, this leaves significant gaps in understanding how it behaves.

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?

The description is extremely concise with only three sentences that each serve a clear purpose: stating the action, explaining the parameter, and indicating the return. There's no wasted text, and information is front-loaded with the core purpose stated first.

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

Completeness3/5

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

For a single-parameter retrieval tool with no output schema, the description covers the basics but lacks important context. It doesn't explain what 'tax report details' include, whether authentication is needed, or how errors are handled. While adequate for simple retrieval, more completeness would help the agent use it effectively.

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?

The description explicitly documents the single parameter 'report_id' with semantic meaning ('Public ID of the tax report to retrieve'), which is valuable since schema description coverage is 0%. It clarifies what the identifier represents, though it doesn't provide format examples or validation rules that would justify a perfect score.

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 clearly states the verb 'retrieve' and the resource 'specific tax report', making the purpose unambiguous. However, it doesn't differentiate from sibling tools like 'list_tax_reports' or 'get_vat_next_report', which would require explicit scope comparison to achieve a perfect score.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like 'list_tax_reports' for browsing or 'get_vat_next_report' for specific report types. The description only states what it does, not when it's appropriate, leaving the agent to infer usage context from tool names alone.

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

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/norman-finance/norman-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server