Skip to main content
Glama

Arquivix Notas · NFS-e

company_fiscal_status

Read-onlyIdempotent

Read-only fiscal situation of one company: the current fiscal profile (tax regime, Simples Nacional, review status), the service tax profiles in effect today, the digital certificate status (active or expired and its expiry date; never the certificate file or password) and the DPS numbering (series and last number used). It answers questions such as "meu certificado está válido?", "qual meu regime?" or "em que número de DPS estou?". Takes company_id or tax_id (CNPJ). A company without a valid certificate cannot issue.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
tax_idNoCNPJ; punctuation is optional.
company_idNoCompany id (UUID).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior4/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 safety is covered elsewhere; the description still adds real value by scoping what is exposed ("never the certificate file or password") and by stating the certificate-validity consequence for issuing documents. It does not discuss error behavior when an identifier is invalid or unknown, but the added disclosure is substantive rather than redundant.

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?

Front-loads the one-line purpose, then the returned contents, then the intent examples, then the caveat — each block earns its place. The parenthetical exception about certificate file/password is tight and prevents a likely misread. No filler sentences.

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 carries the burden of describing return contents and does so item by item, and it covers the certificate edge case that matters operationally. The only gap is resolution behavior when identifiers are missing, ambiguous, or refer to a company the caller cannot access — minor for a read-only, two-optional-parameter 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 coverage is 100%, so the baseline would be 3, but the description adds the alternative-identifier semantics — "Takes company_id or tax_id (CNPJ)" — which the schema itself does not convey (both properties are merely optional with no stated either/or relationship). That is genuine meaning beyond the structured field. It does not clarify what happens if both or neither are supplied.

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?

Opens with a specific verb+resource ("Read-only fiscal situation of one company") and then enumerates exactly what is returned: fiscal profile/tax regime, service tax profiles, digital certificate status, and DPS numbering series/last number. This is far more specific than a generic "get status." It does not explicitly position itself against overlapping siblings such as company_get or company_numbering_check, so an agent must infer the boundary from the returned-field list.

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

Usage Guidelines4/5

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

Supplies concrete usage triggers by quoting the user questions it answers ("meu certificado está válido?", "qual meu regime?", "em que número de DPS estou?"), which maps intent to tool selection well. It also adds the downstream rule that a company without a valid certificate cannot issue, framing why the check matters. It stops short of naming when NOT to use it or which sibling to prefer instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources