Skip to main content
Glama

DOF daily summary

dof_daily_summary
Read-onlyIdempotent

Lists a day's Diario Oficial de la Federación publications with counts by edition and issuing organization, returning note IDs for full-text lookup; days without an issue return total 0.

Instructions

Lists the publications in the Diario Oficial de la Federación for one day, with counts by edition and issuing organization. Use the returned ids with dof_get_note. Days without an issue (weekends, holidays) return total 0.

Input Schema

NameRequiredDescriptionDefault
dateNoDay to summarize, YYYY-MM-DD. Defaults to today.
limitNoMaximum notes to list; counts always cover the whole day
editionNoOnly include this edition
organizationNoOnly include notes whose organization contains this text (case-insensitive)

Output Schema

NameRequiredDescriptionDefault
dateYes
notesYes
totalYes
sourceYes
byEditionYes
truncatedYes
provenanceYesSIDOF URL the data came from, fetch time (UTC) and SHA-256 of the raw response
byOrganizationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: a summary/aggregate result shape with per-edition and per-organization counts, plus the empty-day returning total 0. It does not discuss rate limits or pagination behavior beyond what the limit param implies.

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?

Three short sentences: what it lists, the follow-up, and the empty-day behavior. Scope is front-loaded and every clause carries information the agent needs; nothing is repeated from the title or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only listing tool with an output schema that already defines the return shape, the description still covers the two things an agent could get wrong: that the day may legitimately be empty and that ids should be fed to dof_get_note. Nothing needed to call it correctly is missing.

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%, and each of the four parameters has a precise description including the date format, the limit ceiling and the "counts always cover the whole day" caveat, plus an enum for edition. The description adds essentially no parameter-level detail beyond restating the one-day scope, so the baseline 3 is appropriate.

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?

States a specific verb ("Lists") plus resource ("publications in the Diario Oficial de la Federación") with an explicit time scope ("for one day") and the aggregation it returns (counts by edition and issuing organization). It also positions itself against the sibling dof_get_note by naming it as the consumer of the returned ids, so an agent can place it in the workflow without opening either schema.

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?

Gives a clear next step ("Use the returned ids with dof_get_note") and a concrete edge-case rule ("Days without an issue (weekends, holidays) return total 0") that tells the agent not to treat empty results as failure. No explicit exclusion or comparison against dof_get_indicators, so it stops short of full when/when-not guidance.

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