Skip to main content
Glama

Build a CERIF linking entity fragment

build_link

Create a CERIF linking entity connecting two entities by providing side IDs, with automatic classification defaults and optional temporal attributes.

Instructions

Builds a linking entity element (e.g. cfProj_Pers, cfOrgUnit_Class) connecting two CERIF entities. Provide side id values via sides (keys like "Proj", "Pers"), positionally via idA/idB, or omit for placeholders. The schema requires every link to carry a classification, so when classId/classSchemeId are omitted they default to "unclassified"/"cerif" — replace them with canonical scheme terms from get_scheme. Optionally add startDate/endDate/fraction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idANoFirst side id (positional alternative to `sides`)
idBNoSecond side id (positional alternative to `sides`)
sidesNoMap of side name -> id value, e.g. { Proj: "p-1", Pers: "per-1" }
entityYesLinking entity name, e.g. "cfProj_Pers", "cfOrgUnit_Class"
valuesNoExtra scalar child values
classIdNocfClassId for classification links
endDateNocfEndDate (xs:dateTime)
fractionNocfFraction (0..1)
startDateNocfStartDate (xs:dateTime)
classSchemeIdNocfClassSchemeId for classification links
Behavior4/5

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

With no annotations provided, the description carries the full transparency burden. It discloses important default behavior: omitted classId/classSchemeId default to 'unclassified'/'cerif', and sides can be omitted for placeholders. It does not mention output format or validation, but the core construction behavior is clear.

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 two sentences, front-loaded with the primary purpose and then concise usage constraints. Every clause contributes information, with no filler or repetition of schema details.

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?

For a 10-parameter tool with no output schema, this description covers the key decision points: side specification, classification defaults, and optional dates/fraction. It omits details about the `values` parameter and the exact return structure, but the overview is sufficient for an agent to select and invoke the tool correctly in most cases.

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 input schema already describes all 10 parameters, with 100% coverage, giving a baseline of 3. The description adds meaningful semantics by explaining the `sides` vs `idA`/`idB` relationship and the classification default, which are not apparent from the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Builds a linking entity element (e.g. cfProj_Pers, cfOrgUnit_Class) connecting two CERIF entities,' which is a specific verb+resource with concrete examples. This clearly distinguishes it from sibling `build_entity` by emphasizing the linking nature.

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?

It explains how to provide side IDs via `sides` or `idA`/`idB`, and points to `get_scheme` for canonical classification terms. However, it does not explicitly state when not to use this tool or name an alternative like `build_entity` for non-link fragments, so it lacks explicit exclusions.

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

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/adialaleal/cerif-mcp'

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