Skip to main content
Glama
Matthieusabourin2

pennylane-mcp-server

pennylane_link_categories

Idempotent

Assign analytical categories with weights to an accounting entry line, ensuring weights total 1 for accurate cost allocation.

Instructions

Associe des catégories analytiques à une ligne d'écriture. Chaque catégorie a un poids (0 à 1, somme = 1).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
line_idYesID de la ligne d'écriture.
categoriesYesCatégories analytiques avec poids. Chaque élément : {id: int, weight: str}. Poids de 0 à 1, somme = 1.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the operation is a non-read-only, idempotent, non-destructive, open-world mutation. The description adds only the weight constraint (0–1, sum=1), which is not behavioral context beyond the schema. No auth, rate-limit, or side-effect detail is given, but the annotation coverage lowers the bar.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the core action and no filler. The second sentence duplicates a schema constraint rather than adding new information, keeping it just below maximum efficiency.

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?

With an output schema present and annotations covering the safety profile, the main gaps are the absence of when-to-use guidance and any failure/edge-case notes. Adequate for a simple two-parameter tool but not fully self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both line_id and categories are fully documented in the schema. The description restates the weight rule but adds no syntax or format detail beyond what the schema already provides, warranting the baseline 3.

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 states a specific verb and resources: 'Associe des catégories analytiques à une ligne d'écriture' (associates analytical categories to an entry line). This distinguishes it reasonably from listing siblings like pennylane_list_line_categories, though it does not explicitly name or contrast with any sibling.

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?

There is no when-to-use guidance, no mention of prerequisites, and no alternatives offered. The agent must infer that this is the tool for attaching categories to a line versus the list/get variants in the sibling set.

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

Deploy Server

Other Tools