Skip to main content
Glama

codif_classify_activity

Read-only

Classify economic activity descriptions into CAENES codes with probability scores. Input activity descriptions to receive standardized economic classification codes for analysis.

Instructions

Clasifica una o varias glosas de actividad económica en CAENES (1 o 2 dígitos). Input: array de strings. Output: códigos + probabilidades.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textsYesActivity descriptions to classify. Example: ["extracción de cobre", "elaboración de pan"]
digitsNoClassification granularity: 1 (section) or 2 (division)
modelVersionNoModel version to use. Omit for latest.
Behavior4/5

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

The description adds valuable context beyond annotations: it specifies the output format ('códigos + probabilidades'), mentions the classification system (CAENES), and indicates batch processing capability ('una o varias glosas'). Annotations already cover read-only, non-destructive, and open-world characteristics, so the description appropriately supplements rather than contradicts them.

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 (two sentences) and front-loaded with the core purpose. Every word earns its place: first sentence states what it does, second sentence specifies input/output formats. No redundant information or unnecessary elaboration.

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 read-only classification tool with good annotations and complete schema coverage, the description provides adequate context. It explains the classification system, granularity options, and output format. The main gap is lack of output schema, but the description compensates by specifying the return format. Slightly more guidance on usage scenarios would improve completeness.

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?

With 100% schema description coverage, the schema already documents all three parameters thoroughly. The description mentions the input format ('array de strings') and output format, but doesn't add significant semantic meaning beyond what's in the schema. This meets the baseline expectation when schema coverage is complete.

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 clearly states the specific action ('Clasifica' - classifies), the resource ('glosas de actividad económica' - economic activity descriptions), and the classification system ('CAENES') with granularity options (1 or 2 digits). It distinguishes from siblings like 'codif_classify_occupation' by specifying economic activity classification rather than occupation classification.

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

Usage Guidelines3/5

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

The description implies usage context through the input/output specification (array of strings to codes+probabilities), but doesn't explicitly state when to use this tool versus alternatives. It doesn't provide guidance on when to choose 1-digit vs 2-digit granularity or mention any prerequisites or 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/fgreve/ine-chile-mcp'

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