tiny_get_invoice
Detalha uma nota fiscal pelo id (nota.fiscal.obter.php).
Bulk support: accepts ids for batched execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| ids | No | ||
| account | No |
Detalha uma nota fiscal pelo id (nota.fiscal.obter.php).
Bulk support: accepts ids for batched execution.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| ids | No | ||
| account | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, so safety is covered. The description adds the bulk execution capability, which is a behavioral trait beyond annotations. It doesn't describe return format or error handling, but given annotations, this is acceptable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with purpose, then bulk support. Minimal waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple getter with safety annotations, the description covers purpose and bulk capability. However, it omits the account parameter and has no examples or return info. Given schema coverage 0%, it could be more complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has no descriptions, so the description must explain params. It explains 'id' and 'ids' but not 'account'. Thus it partially compensates for the lack of schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the verb 'Detalha' (details) and specifies the resource 'nota fiscal' (invoice) by id, clearly distinguishing from list_invoices which would retrieve multiple. The reference to the underlying script adds specificity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It mentions bulk support indicating when to use it for batch retrieval, but doesn't compare to list_invoices or state when not to use it. No explicit alternatives are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.